diff --git a/gocd/templates/pipelines/launchpad.libsonnet b/gocd/templates/pipelines/launchpad.libsonnet index ee21be43..6ee92f19 100644 --- a/gocd/templates/pipelines/launchpad.libsonnet +++ b/gocd/templates/pipelines/launchpad.libsonnet @@ -68,10 +68,9 @@ function(region) { GITHUB_APP_ID: '{{SECRET:[devinfra-github][app_id]}}', GITHUB_APP_PRIVATE_KEY: '{{SECRET:[devinfra-github][private_key]}}', LABEL_SELECTOR: 'service=launchpad', - } + (if region == 's4s2' then { - ARGOCD_ONLY: 'true', - ARGOCD_SERVICE: 'launchpad', - } else {}), + ARGOCD_ONLY: 'true', + ARGOCD_SERVICE: 'launchpad', + }, tasks: [ gocdtasks.script(importstr '../bash/deploy.sh'), ],