From ad38e75a2375ce45d8adcc1ee9f60a724d30ce8e Mon Sep 17 00:00:00 2001 From: kneeyo1 Date: Thu, 24 Apr 2025 13:36:36 -0700 Subject: [PATCH 1/3] Add snty-tools to the customer list --- libs/getsentry.libsonnet | 2 ++ libs/pipedream.libsonnet | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/getsentry.libsonnet b/libs/getsentry.libsonnet index c60ec44..1c71d5b 100644 --- a/libs/getsentry.libsonnet +++ b/libs/getsentry.libsonnet @@ -10,6 +10,8 @@ 'us', // 'control' is excluded by default and must be explicitly included 'control', + // 'snty-tools' is excluded by default and must be explicitly included + 'snty-tools', 'customer-1', 'customer-2', 'customer-4', diff --git a/libs/pipedream.libsonnet b/libs/pipedream.libsonnet index ac9f192..c6435b6 100644 --- a/libs/pipedream.libsonnet +++ b/libs/pipedream.libsonnet @@ -242,7 +242,7 @@ local pipeline_to_array(pipeline) = // render will generate the trigger pipeline and all the region pipelines. render(pipedream_config, pipeline_fn, parallel=false):: // Regions that are excluded by default and must be explicitly included - local default_excluded_regions = ['control']; + local default_excluded_regions = ['control', 'snty-tools']; local is_excluded_region = function(region, config) std.objectHas(config, 'exclude_regions') && std.length(std.find(region, config.exclude_regions)) > 0; From 4e22c3ffcd46f60bd94100a9d444b8966c59edca Mon Sep 17 00:00:00 2001 From: kneeyo1 Date: Thu, 24 Apr 2025 15:12:32 -0700 Subject: [PATCH 2/3] test case --- .../goldens/getsentry/regions.jsonnet_output-files.golden | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testdata/goldens/getsentry/regions.jsonnet_output-files.golden b/test/testdata/goldens/getsentry/regions.jsonnet_output-files.golden index b6c8a8f..85987f5 100644 --- a/test/testdata/goldens/getsentry/regions.jsonnet_output-files.golden +++ b/test/testdata/goldens/getsentry/regions.jsonnet_output-files.golden @@ -4,6 +4,7 @@ "de", "us", "control", + "sntry-tools", "customer-1", "customer-2", "customer-4", From 74016bea0436e6cea28bbd7007eb864cbd8239a9 Mon Sep 17 00:00:00 2001 From: kneeyo1 Date: Thu, 24 Apr 2025 15:25:07 -0700 Subject: [PATCH 3/3] spelling --- .../goldens/getsentry/regions.jsonnet_output-files.golden | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testdata/goldens/getsentry/regions.jsonnet_output-files.golden b/test/testdata/goldens/getsentry/regions.jsonnet_output-files.golden index 85987f5..67c88a2 100644 --- a/test/testdata/goldens/getsentry/regions.jsonnet_output-files.golden +++ b/test/testdata/goldens/getsentry/regions.jsonnet_output-files.golden @@ -4,7 +4,7 @@ "de", "us", "control", - "sntry-tools", + "snty-tools", "customer-1", "customer-2", "customer-4",