[openshift-apps/websites] webhooks for autodeploying
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
c126cad437
commit
ca9ea1e17d
1 changed files with 9 additions and 0 deletions
|
@ -18,6 +18,15 @@ spec:
|
||||||
triggers:
|
triggers:
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
|
{% if stg_websites_deploy_secret is defined and env == 'staging' %}
|
||||||
|
- type: Generic
|
||||||
|
generic:
|
||||||
|
secret: "{{ stg_websites_deploy_secret }}"
|
||||||
|
{% elif websites_deploy_secret is defined and env == 'production' %}
|
||||||
|
- type: Generic
|
||||||
|
generic:
|
||||||
|
secret: "{{ websites_deploy_secret }}"
|
||||||
|
{% endif %}
|
||||||
output:
|
output:
|
||||||
to:
|
to:
|
||||||
kind: ImageStreamTag
|
kind: ImageStreamTag
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue