From 4ead1104a0b12b5e8c221ac54ae939c7147bb6cb Mon Sep 17 00:00:00 2001 From: Pedro Moura Date: Mon, 29 Jan 2024 18:29:21 -0300 Subject: [PATCH] Planet: fix buildconfig identaion Signed-off-by: Pedro Moura --- .../planet/templates/buildconfig.yml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/roles/openshift-apps/planet/templates/buildconfig.yml b/roles/openshift-apps/planet/templates/buildconfig.yml index 5a67f4cd1c..3ac119fc3c 100644 --- a/roles/openshift-apps/planet/templates/buildconfig.yml +++ b/roles/openshift-apps/planet/templates/buildconfig.yml @@ -12,23 +12,23 @@ spec: git: uri: https://github.com/fedora-infra/planet ref: {{ (env == 'production')|ternary('stable', 'staging') }} - strategy: - type: Docker - output: - to: - kind: ImageStreamTag - name: planet:latest - triggers: - - type: ConfigChange - - type: ImageChange + strategy: + type: Docker + output: + to: + kind: ImageStreamTag + name: planet:latest + triggers: + - type: ConfigChange + - type: ImageChange {% if env == 'staging' %} - - type: GitHub - github: - secretReference: - name: planet_stg_github_secret + - type: GitHub + github: + secretReference: + name: planet_stg_github_secret {% elif env == 'production' %} - - type: GitHub - github: - secretReference: - name: planet_github_secret + - type: GitHub + github: + secretReference: + name: planet_github_secret {% endif %}