-
Notifications
You must be signed in to change notification settings - Fork 28
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
Support private ECR-only bundle generation and promotion #1005
Conversation
4eade36
to
3400cbc
Compare
@@ -7,6 +7,7 @@ | |||
"382577505035.dkr.ecr.us-west-2.amazonaws.com": "ecr-login", | |||
"646717423341.dkr.ecr.us-west-2.amazonaws.com": "ecr-login", | |||
"783794618700.dkr.ecr.us-west-2.amazonaws.com": "ecr-login", | |||
"067575901363.dkr.ecr.us-west-2.amazonaws.com": "ecr-login", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need all the other registries added here too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we're building only to this account, this should suffice. The replication happens outside of this Go code.
what does NewBuildMode do? |
Currently we're running builds from the other CDK's build pipelines too, and both share the same repo. Currently the process involves public ECR operations which wouldn't work for the new packages pipelines since they're pushing to regional ECR and not public ECR. So on the packages CDK build projects, we're setting the env var and checking for it here and that helps us perform private ECR-only client creation and operations. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhay-krishna, jonathanmeier5 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:
Approvers can indicate their approval by writing |
/lgtm |
Support private ECR-only bundle generation and promotion.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.