test-infra
test-infra copied to clipboard
Migrate to Artifact Registry
Google Container Registry has been recommending migrating to Artifact Registry for some time now.
https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr
In theory, this should be straight forward:
- Ensure all service accounts have been granted Artifact Registry roles
- One major change is that repositories need to be created.
- Authentication methods are still the same.
gcr.io
will be replaced by us-docker.pkg.dev
https://github.com/knative/test-infra/pull/3004 introduces the new repository in to the Prow build images.
Thanks for opening this!
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.
/lifecycle frozen
Hey @upodroid is https://github.com/knative/test-infra/pull/3004 the only thing we need to do here?
cc @kvmware
So #3004 configures the docker cred helper. We need to change the KO_DOCKER_REPO
env value to use Artifact Registry and I haven't investigated that work.