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:
|
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 %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue