google / slo-generator

SLO Generator computes SLIs, SLOs, Error Budgets and Burn Rates from supported backends, then exports an SLO report to supported targets.
Apache License 2.0
491 stars 79 forks source link

Move Docker images from Container Registry to Artifact Registry #295

Open lvaylet opened 2 years ago

lvaylet commented 2 years ago

cloudbuild.yaml currently pushes Docker images to Google Cloud Registry (GCR). However, as highlighted in the Google Cloud documentation:

Artifact Registry is the recommended service for container image storage and management on Google Cloud. As a fully-managed service with support for both container images and non-container artifacts, Artifact Registry extends the capabilities of Container Registry.

Transition from Cloud Registry to Artifact Registry by updating cloudbuild.yaml (and everything related in the build/tag/deploy process, like docs, Terraform scripts and Makefile targets).

lvaylet commented 2 years ago

For a complete list of files to update in this repo (including docs and tests), do a search on gcr.io:

image

Then https://github.com/terraform-google-modules/terraform-google-slo probably needs some updates too, for example in modules/slo-generator/main.tf.