Skip to content

Commit

Permalink
ci(cardinality): Deploy the new container image (#4982)
Browse files Browse the repository at this point in the history
Seeing error in when the cron job is run that the cardinality file does not exist.
Guessing that its because it is using an older container image which does not have
the required change. Deploying newer images might help.
  • Loading branch information
nikhars authored Nov 6, 2023
1 parent 6165f0a commit 756c41e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gocd/pipelines/snuba-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ pipelines:
--image="us.gcr.io/sentryio/snuba:${GO_REVISION_SNUBA_REPO}" \
--type="cronjob" \
--container-name="cleanup" \
--container-name="optimize"
--container-name="optimize" \
--container-name="cardinality-report"
- deploy:
fetch_materials: true
jobs:
Expand Down Expand Up @@ -169,4 +170,5 @@ pipelines:
--image="us.gcr.io/sentryio/snuba:${GO_REVISION_SNUBA_REPO}" \
--type="cronjob" \
--container-name="cleanup" \
--container-name="optimize"
--container-name="optimize" \
--container-name="cardinality-report"
1 change: 1 addition & 0 deletions gocd/templates/bash/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ eval $(/devinfra/scripts/regions/project_env_vars.py --region="${SENTRY_REGION}"
--type="cronjob" \
--container-name="cleanup" \
--container-name="optimize" \
--container-name="cardinality-report" \
&& /devinfra/scripts/k8s/k8s-deploy.py \
--label-selector="${LABEL_SELECTOR}" \
--image="us.gcr.io/sentryio/snuba:${GO_REVISION_SNUBA_REPO}" \
Expand Down

0 comments on commit 756c41e

Please sign in to comment.