Skip to content

Commit

Permalink
ref: deploy from artifact registry
Browse files Browse the repository at this point in the history
OPS-3966
  • Loading branch information
asottile-sentry committed May 2, 2024
1 parent 48de195 commit 0a90ecc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ artifactProvider:
targets:
- id: release
name: docker
source: us.gcr.io/sentryio/chartcuterie
source: us-central1-docker.pkg.dev/sentryio/chartcuterie/image
target: getsentry/chartcuterie
- id: latest
name: docker
source: us.gcr.io/sentryio/chartcuterie
source: us-central1-docker.pkg.dev/sentryio/chartcuterie/image
target: getsentry/chartcuterie
targetFormat: '{{{target}}}:latest'
- name: npm
Expand Down
6 changes: 3 additions & 3 deletions gocd/pipelines/chartcuterie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pipelines:
/devinfra/scripts/checks/googlecloud/checkcloudbuild.py \
${GO_REVISION_CHARTCUTERIE_REPO} \
sentryio \
"us.gcr.io/sentryio/chartcuterie"
"us-central1-docker.pkg.dev/sentryio/chartcuterie/image"
- deploy-canary:
jobs:
deploy:
Expand All @@ -48,7 +48,7 @@ pipelines:
&& /devinfra/scripts/k8s/k8s-deploy.py \
--context="gke_${GCP_PROJECT}_${GKE_REGION}-${GKE_CLUSTER_ZONE}_${GKE_CLUSTER}" \
--label-selector="service=chartcuterie,env=canary" \
--image="us.gcr.io/sentryio/chartcuterie:${GO_REVISION_CHARTCUTERIE_REPO}" \
--image="us-central1-docker.pkg.dev/sentryio/chartcuterie/image:${GO_REVISION_CHARTCUTERIE_REPO}" \
--container-name="chartcuterie"
- script: |
/devinfra/scripts/canary/canarychecks.py \
Expand All @@ -64,5 +64,5 @@ pipelines:
&& /devinfra/scripts/k8s/k8s-deploy.py \
--context="gke_${GCP_PROJECT}_${GKE_REGION}-${GKE_CLUSTER_ZONE}_${GKE_CLUSTER}" \
--label-selector="service=chartcuterie" \
--image="us.gcr.io/sentryio/chartcuterie:${GO_REVISION_CHARTCUTERIE_REPO}" \
--image="us-central1-docker.pkg.dev/sentryio/chartcuterie/image:${GO_REVISION_CHARTCUTERIE_REPO}" \
--container-name="chartcuterie"

0 comments on commit 0a90ecc

Please sign in to comment.