From 1dbce929eb3c6efe99c350ec2212565fce1a1736 Mon Sep 17 00:00:00 2001 From: Matt Gaunt-Seo Date: Mon, 18 Sep 2023 15:47:08 -0700 Subject: [PATCH] Update gocd-jsonnet to 2.2.2 Also rename deploy_* to deploy-* to match getsentry pipelines --- gocd/templates/jsonnetfile.json | 2 +- gocd/templates/pipelines/symbolicator.libsonnet | 4 ++-- gocd/templates/symbolicator.jsonnet | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gocd/templates/jsonnetfile.json b/gocd/templates/jsonnetfile.json index aac849aa0..736010c09 100644 --- a/gocd/templates/jsonnetfile.json +++ b/gocd/templates/jsonnetfile.json @@ -8,7 +8,7 @@ "subdir": "libs" } }, - "version": "v1.5.1" + "version": "v2.2.2" } ], "legacyImports": true diff --git a/gocd/templates/pipelines/symbolicator.libsonnet b/gocd/templates/pipelines/symbolicator.libsonnet index e69ffe1a2..dc28179ea 100644 --- a/gocd/templates/pipelines/symbolicator.libsonnet +++ b/gocd/templates/pipelines/symbolicator.libsonnet @@ -8,7 +8,7 @@ local deploy_canary_stage(region) = else [ { - deploy_canary: { + "deploy-canary": { fetch_materials: true, jobs: { create_sentry_release: { @@ -75,7 +75,7 @@ function(region) { }, ] + deploy_canary_stage(region) + [ { - deploy_primary: { + "deploy-primary": { [if getsentry.is_st(region) then null else 'approval']: { type: 'manual', }, diff --git a/gocd/templates/symbolicator.jsonnet b/gocd/templates/symbolicator.jsonnet index 5c4d3b7e7..8aab5a310 100644 --- a/gocd/templates/symbolicator.jsonnet +++ b/gocd/templates/symbolicator.jsonnet @@ -18,7 +18,7 @@ local pipedream_config = { // Add rollback rollback: { material_name: 'symbolicator_repo', - stage: 'deploy_primary', + stage: 'deploy-primary', elastic_profile_id: 'symbolicator', },