Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions gocd/templates/bash/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,8 @@

eval $(regions-project-env-vars --region="${SENTRY_REGION}")

# Run the distroless image variant in the regions below while rolling it out
# region by region. The "-distroless" tag is published by .github/workflows/image.yaml.
IMAGE_TAG="${GO_REVISION_VROOM_REPO}"
case "${SENTRY_REGION}" in
s4s2 | de | us)
IMAGE_TAG="${GO_REVISION_VROOM_REPO}-distroless"
;;
esac

/devinfra/scripts/get-cluster-credentials
k8s-deploy \
--label-selector="${LABEL_SELECTOR}" \
--image="us-central1-docker.pkg.dev/sentryio/vroom/vroom:${IMAGE_TAG}" \
--image="us-central1-docker.pkg.dev/sentryio/vroom/vroom:${GO_REVISION_VROOM_REPO}-distroless" \
--container-name="vroom"
Loading