I am currently using Google App Engine Standard and deploying a Java application via Gradle task appengineDeploy
.
At the moment, my deployments are being routed through Container Registry, but I would like to migrate to Artifact Registry instead.
I have already read this doc:
but I didn't find the way to migrate.
Will App Engine Standard applications published via Gradle be migrated automatically when the Container Registry service expires? or is there some setting that i need to add to the "appengineDeploy" task?
Thanks
I found a solution, you can migrate Container Registry endpoints to Artifact Registry repositories without requiring any downtime or service disruption using the automatic migration tool by refer the following documentation docs and execute command:
gcloud artifacts docker upgrade migrate \
--projects=PROJECTS
which will migrate all gcr.io repositories in the Container Registry to Artifact Registry and redirect all traffic from the gcr.io endpoint to Artifact Registry.
Once command has finished running, it will display message:
gcr.io traffic is now being fully served by Artifact Registry for [PROJECT_ID]. Images will no longer be copied from Container Registry for this project
Once the process is completed, your App Engine will utilize the Artifact Registry when it is deployed/redeployed.
No changes to gradle are needed.