With this change, xpkg build now includes examples specified in the /examples directory (defaulting to the directory located at the root of the repo or can be configured to a separate location).
In addition xpkg push was extended to include support for adding annotations to the the xpkg layers.
[X] Run make reviewable to ensure this PR is ready for review.
How has this code been tested
xpkg build
Also examines contents:
$ _output/bin/darwin_arm64/up -f package -e examples
$ ls
provider-jet-aws-960b41c76b04.xpkg
$ tar -xvf provider-jet-aws-960b41c76b04.xpkg
x sha256:506a64c13fb4987d8d936e92a05e0b5053aa8a62624b75be81e29f225a5f9306
x 3f84d5729bdb7d311816026dc36861485e3c06e23753e27cd15121c352ea9507.tar.gz
x d542afccd9fb9aa14947cd5c2f80850f65f0ceba3b2802488fca542a0b410240.tar.gz
x manifest.json
$ cat manifest.json | jq
[
{
"Config": "sha256:506a64c13fb4987d8d936e92a05e0b5053aa8a62624b75be81e29f225a5f9306",
"RepoTags": null,
"Layers": [
"3f84d5729bdb7d311816026dc36861485e3c06e23753e27cd15121c352ea9507.tar.gz",
"d542afccd9fb9aa14947cd5c2f80850f65f0ceba3b2802488fca542a0b410240.tar.gz"
]
}
]
$ tar -xvf 3f84d5729bdb7d311816026dc36861485e3c06e23753e27cd15121c352ea9507.tar.gz
x package.yaml
$ tar -xvf d542afccd9fb9aa14947cd5c2f80850f65f0ceba3b2802488fca542a0b410240.tar.gz
tar: Removing leading '/' from member names
x .up/examples.yaml
Description of your changes
With this change,
xpkg build
now includes examples specified in the/examples
directory (defaulting to the directory located at the root of the repo or can be configured to a separate location).In addition
xpkg push
was extended to include support for adding annotations to the the xpkg layers.I have:
make reviewable
to ensure this PR is ready for review.How has this code been tested
xpkg build
Also examines contents:
xpkg push