Planet: fix buildconfig identaion
Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
parent
33b2e114a6
commit
4ead1104a0
1 changed files with 17 additions and 17 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue