-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Update scripts/release.sh to push to artifact registry #19250
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: James Blair <[email protected]>
Signed-off-by: James Blair <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 22 files with indirect coverage changes @@ Coverage Diff @@
## main #19250 +/- ##
==========================================
- Coverage 68.81% 68.75% -0.07%
==========================================
Files 420 420
Lines 35649 35649
==========================================
- Hits 24533 24509 -24
- Misses 9691 9715 +24
Partials 1425 1425 Continue to review full report in Codecov by Sentry.
|
/test pull-etcd-integration-2-cpu-amd64 |
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.
LGTM. Thanks, James. From the conversation, it sounds like a blocker before the script's execution time. Given GCR's deprecation, that should not be a blocker anymore.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ivanvc, jmhbnz 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 |
https://cloud.google.com/artifact-registry/docs/transition/auto-migrate-gcr-ar#migrate-gcrio-hosted-ar mentions |
We don't need to. However adopting the new |
This pr addresses #15199. On March 18, 2025, Container Registry will be replaced by Artifact Registry and no longer available.
There are wider discussions ongoing about how etcd will adopt/re-use existing k8s etcd image build pipeline. In the short term lets ensure our upcoming releases will push to artifact registry.
A new registry has been created in our
etcd-development
gcp project: https://console.cloud.google.com/artifacts/docker/etcd-development/us/etcd?project=etcd-developmentI have verified push permissions work as expected by pushing a
v3.5.17
image to the new repository and granted push permissions to ouretcd-release-team
custom gcp role. Public read only access has been granted to the repository so users can pull our images.I've also verified the release script is working as expecting, producing the following images after being run in dry run mode:
cc @ahrtr, @serathius, @ivanvc