Planet: fix buildconfig identaion

Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
Pedro Moura 2024-01-29 18:29:21 -03:00 committed by phsmoura
parent 33b2e114a6
commit 4ead1104a0

View file

@ -12,23 +12,23 @@ spec:
git: git:
uri: https://github.com/fedora-infra/planet uri: https://github.com/fedora-infra/planet
ref: {{ (env == 'production')|ternary('stable', 'staging') }} ref: {{ (env == 'production')|ternary('stable', 'staging') }}
strategy: strategy:
type: Docker type: Docker
output: output:
to: to:
kind: ImageStreamTag kind: ImageStreamTag
name: planet:latest name: planet:latest
triggers: triggers:
- type: ConfigChange - type: ConfigChange
- type: ImageChange - type: ImageChange
{% if env == 'staging' %} {% if env == 'staging' %}
- type: GitHub - type: GitHub
github: github:
secretReference: secretReference:
name: planet_stg_github_secret name: planet_stg_github_secret
{% elif env == 'production' %} {% elif env == 'production' %}
- type: GitHub - type: GitHub
github: github:
secretReference: secretReference:
name: planet_github_secret name: planet_github_secret
{% endif %} {% endif %}