Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating scripts for command change #276

Merged
merged 1 commit into from
Jun 22, 2022
Merged

Updating scripts for command change #276

merged 1 commit into from
Jun 22, 2022

Conversation

jonahjon
Copy link
Contributor

@jonahjon jonahjon commented Jun 22, 2022

Name changed when adding support for private ECR releases.

Ran this locally with 2nd account and all worked, and showed up in ECR https://gallery.ecr.aws/c7a4r4e3/harbor/harbor-registry.

go run . --public-profile "jonah2" --input "data/input_local.yaml"                                                                                        <aws:default>
{"level":"info","ts":1655855279.300361,"logger":"BundleGenerator","msg":"Using input file to create bundle crds.","Input file":"data/input_local.yaml"}
{"level":"info","ts":1655855279.7453482,"logger":"BundleGenerator","msg":"In Progress: Populating Bundles and looking up Sha256 tags"}
{"level":"info","ts":1655855281.13058,"logger":"BundleGenerator","msg":"In Progress: Writing bundle to output"}
{"level":"info","ts":1655855281.130655,"logger":"BundleGenerator","msg":"Starting release public ECR process...."}
{"level":"info","ts":1655855282.348431,"logger":"BundleGenerator","msg":"Found Helm Chart to read for information ","Chart":"public.ecr.aws/f5b7k4z5/hello-eks-anywhere:0.1.1-2afcaa9ec9c1c327ff0205e7a2b0fdc644f4710f"}
{"level":"info","ts":1655855283.162826,"logger":"BundleGenerator","msg":"Image Digest, and Tag dont exist in destination location...... copy to","Location":"public.ecr.aws/c7a4r4e3/hello-eks-anywhere:v0.1.1-2afcaa9ec9c1c327ff0205e7a2b0fdc644f4710f sha256:353c27c994f105643dc7455b824c38fcd69c2c203a644cdf6316544e61775a31"}
{"level":"info","ts":1655855283.162933,"logger":"BundleGenerator","msg":"Running skopeo copy...","docker://public.ecr.aws/f5b7k4z5/hello-eks-anywhere:v0.1.1-2afcaa9ec9c1c327ff0205e7a2b0fdc644f4710f":"docker://public.ecr.aws/c7a4r4e3/hello-eks-anywhere:v0.1.1-2afcaa9ec9c1c327ff0205e7a2b0fdc644f4710f"}
Getting image list signatures
Copying 2 of 2 images in list
Copying image sha256:625fe063a883f333ab1103fa267e57e6ed99072d537b193ea0159ce07d818ca3 (1/2)
Getting image source signatures
Copying blob sha256:6dc22987e65918b540d1e5f980d351ede1acf76f3168d3166457b289a2f7101b
Copying blob sha256:2e7e5f0538a1a6025b10afb20280cfb415c519522b363cdc9fec9f747ea62662
Copying blob sha256:e86a2249b005ea19ac9402bd328d66187d27fe063adb282e2638fcdf4e3265c9
Copying blob sha256:dfd9694a6628232d19380eb7a68f471336d8d6cd340ec684b18f55ee0668971b
Copying blob sha256:73e1a3a1220c15db48ac23c93b68aa2a16ea26f1c0c1c78b6ed1f7804b9def9b
Copying blob sha256:e8f5a79a9c6bb52155281665cf6da7dbf17372fab2344ab8789ba18420fd7bc3
Copying blob sha256:55f19cc90d1d133d8c0a429042fcb744406bf68e677ce03ff4a1f009333c6a24
Copying config sha256:782186797a10002e51098c259c64258ce7af9092e15f31ddf9574bd3ee255ed1
Writing manifest to image destination
Storing signatures
Copying image sha256:700c8ad51c758ab5abafcba10b7593462d9460cab8b2769779fe1c735f9f4940 (2/2)
Getting image source signatures
Copying blob sha256:73e1a3a1220c15db48ac23c93b68aa2a16ea26f1c0c1c78b6ed1f7804b9def9b
Copying blob sha256:ee76acfb3958d51a78bbd68546b013249914e36a17a209961e35a6547241bf29
Copying blob sha256:a280edd797ba86411c5e4e935978cfa465e091b7c3c52b76582b773d7d8b81da
Copying blob sha256:e8f5a79a9c6bb52155281665cf6da7dbf17372fab2344ab8789ba18420fd7bc3
Copying blob sha256:4817392664eabe7f7d96401c490ee7357a527c74b436530efe9afe7237e9936c
Copying blob sha256:32e833fd4d7ac013d7fe57d0c65eb27303600c662a816bf960a61c191d6ede07
Copying blob sha256:a9eeb1b172515bc32a3c06d2444e6bb2a4380b2eacad241c2fad1370ceb3ff50
Copying config sha256:f10cdf2b1822c58b9d584f14a4f45ba8efc1081868a72d911b3172882725f67e
Writing manifest to image destination
Storing signatures
Writing manifest list to image destination
Storing list signatures

{"level":"info","ts":1655855300.650107,"logger":"BundleGenerator","msg":"Image Digest, and Tag dont exist in destination location...... copy to","Location":"public.ecr.aws/c7a4r4e3/hello-eks-anywhere:0.1.1-2afcaa9ec9c1c327ff0205e7a2b0fdc644f4710f sha256:9bbb33d027b17a5870c47a8b5f29276a84bbc263a1fa377fc9126282a63d85fd"}
{"level":"info","ts":1655855300.650143,"logger":"BundleGenerator","msg":"Running skopeo copy...","docker://public.ecr.aws/f5b7k4z5/hello-eks-anywhere:0.1.1-2afcaa9ec9c1c327ff0205e7a2b0fdc644f4710f":"docker://public.ecr.aws/c7a4r4e3/hello-eks-anywhere:0.1.1-2afcaa9ec9c1c327ff0205e7a2b0fdc644f4710f"}
Getting image source signatures
Copying blob sha256:c54670724a45da53f47da5f6adc4cc92770ba4c420e68a7b0d509cac598c9802
Copying config sha256:0a9659498d3112c55c52b9d48805762b8eb9f3d01aabcef8ff4a73f34d686d21
Writing manifest to image destination
Storing signatures

{"level":"info","ts":1655855306.1416352,"logger":"BundleGenerator","msg":"Found Helm Chart to read for information ","Chart":"public.ecr.aws/f5b7k4z5/harbor/harbor-helm:2.5.1-1ad23e175201a7cf356202d5cf2ba76e1d69556b"}
{"level":"info","ts":1655855306.870034,"logger":"BundleGenerator","msg":"Image Digest, and Tag dont exist in destination location...... copy to","Location":"public.ecr.aws/c7a4r4e3/harbor/harbor-core:v2.5.1-1ededc2a86e772d02875796fa619e1a6382727dc sha256:575551ae8ef8039a656be344b3a73fe98220c910b067381c53a77b18992869f6"}
{"level":"info","ts":1655855306.870081,"logger":"BundleGenerator","msg":"Running skopeo copy...","docker://public.ecr.aws/f5b7k4z5/harbor/harbor-core:v2.5.1-1ededc2a86e772d02875796fa619e1a6382727dc":"docker://public.ecr.aws/c7a4r4e3/harbor/harbor-core:v2.5.1-1ededc2a86e772d02875796fa619e1a6382727dc"}
Getting image list signatures
Copying 2 of 2 images in list
Copying image sha256:aede3e39a593c617af951c4239030433650e88a6b40ed88099baf791fa9f3235 (1/2)
Getting image source signatures
Copying blob sha256:cc22a58cf290da94290e7f0959d10263621e061f50d06fb5aa880f9215264f3b
Copying blob sha256:b4317ecb3db815ca1620ea169342a8898c4bec018b7225135af8d4d00b53af3b
Copying blob sha256:7597e66c07c50b99977771803fa433ce370eb0db3cd226c1653f044cd0f8e759
Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Copying blob sha256:8de5b65bd171294b1e04e0df439f4ea11ce923b642eddf3b3d76d297bfd2670c
Copying config sha256:585b5f86acddbb2ef3bdc9efe4fa331e050c1c7ff75b783b3b86d1cae7519d08
Writing manifest to image destination
Storing signatures
Copying image sha256:e6fe12b5b7875b221ad49c3f375060425a1de074299455cedbda6cfd230bcb26 (2/2)
Getting image source signatures
Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Copying blob sha256:22882561394f77dffe2483860cd129cd0c629d331cf1f672af6ee5f556621462
Copying blob sha256:5f619cc5faf1eb2f80c8deb3ff2ee04998213d6785ae28a4602b036ed83426fb
Copying blob sha256:ec3b4c26678b188d3874bed5e14dd278311fc05c81e418d5f0da36ec38d9f488
Copying blob sha256:984ba279011f0bcfd2d7f82ba60d3601ff7f6755959985ec0be8c6d49244407b
Copying config sha256:b7d16a0b6653e34174ea2b742150828027735bec7f6596479412fdea7367eb0f
Writing manifest to image destination
Storing signatures
Writing manifest list to image destination
Storing list signatures
...

@eks-distro-bot eks-distro-bot added approved size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 22, 2022
@ivyostosh
Copy link
Member

/lgtm
/approve

Copy link
Contributor

@TerryHowe TerryHowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ivyostosh, jonahjon, TerryHowe, vincentni

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [TerryHowe,ivyostosh,jonahjon,vincentni]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot merged commit 2b3c408 into aws:main Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants