Skip to content

Commit

Permalink
fix(gocd): Fixing sentry release creation for pops deploy in s4s
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWoodard committed Sep 19, 2024
1 parent 3533a47 commit ca1ef5e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gocd/templates/pipelines/pops.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ local region_pops = {
'us-pop-regional-3',
'us-pop-regional-4',
],
s4s: [],
};

// The purpose of this stage is to let the deployment soak for a while and
Expand Down Expand Up @@ -189,6 +190,7 @@ local deploy_pops_stage(region) =
},
} {
'deploy-primary'+: {
fetch_materials: true,
jobs+: deploy_jobs(
[region] + region_pops[region],
deploy_pop_job,
Expand All @@ -213,6 +215,9 @@ local deployment_stages(region) =
if region == 'us' || region == 'de' then
// The canary stage is only for the US and DE regions
[deploy_canary_pops_stage(region), deploy_pops_stage(region)]
else if region == 's4s' then
// We still want to create a sentry release for s4s
[deploy_pops_stage(region)]
else
[deploy_generic_pops_stage(region)];

Expand Down

0 comments on commit ca1ef5e

Please sign in to comment.