test-infra icon indicating copy to clipboard operation
test-infra copied to clipboard

Migrate to Artifact Registry

Open upodroid opened this issue 3 years ago • 5 comments

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.

upodroid avatar Jan 13 '22 19:01 upodroid

Thanks for opening this!

chizhg avatar Jan 13 '22 19:01 chizhg

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.

github-actions[bot] avatar Apr 14 '22 01:04 github-actions[bot]

/lifecycle frozen

chizhg avatar Apr 19 '22 04:04 chizhg

Hey @upodroid is https://github.com/knative/test-infra/pull/3004 the only thing we need to do here?

cc @kvmware

dprotaso avatar Aug 24 '23 18:08 dprotaso

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.

upodroid avatar Aug 25 '23 10:08 upodroid