Skip to content
Open
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
3 changes: 2 additions & 1 deletion gocd/templates/pipelines/processing.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ local monitors_for(region) =
if std.objectHas(datadog_monitors, region) then datadog_monitors[region] else datadog_monitors.default;

local canary_regions = ['us', 'de', 'us2', 's4s2'];
Comment thread
elramen marked this conversation as resolved.
local saas_regions = ['us', 'de', 'us2', 's4s2'];

local sentry_deploy_vars(region) = {
SENTRY_REGION: region,
Expand All @@ -38,7 +39,7 @@ local sentry_create_env_vars(region) = {
// The purpose of this stage is to let the deployment soak for a while and
// detect any issues that might have been introduced.
local soak_time(region) =
if region == 'us' then
if std.member(saas_regions, region) then
[
{
'soak-time': {
Expand Down
Loading