Badges: use jinja comments instead
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
b50c2d5d8a
commit
bce1b9e10c
1 changed files with 16 additions and 12 deletions
|
@ -29,12 +29,14 @@ spec:
|
||||||
triggers:
|
triggers:
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
# - type: GitHub
|
{#
|
||||||
# github:
|
- type: GitHub
|
||||||
# # Not sure why secretReference does not work, but it doesn't.
|
github:
|
||||||
# # secretReference:
|
# Not sure why secretReference does not work, but it doesn't.
|
||||||
# # name: github-webook
|
# secretReference:
|
||||||
# secret: "{{ badges_stg_github_secret }}"
|
# name: github-webook
|
||||||
|
secret: "{{ badges_stg_github_secret }}"
|
||||||
|
#}
|
||||||
---
|
---
|
||||||
apiVersion: build.openshift.io/v1
|
apiVersion: build.openshift.io/v1
|
||||||
kind: BuildConfig
|
kind: BuildConfig
|
||||||
|
@ -65,9 +67,11 @@ spec:
|
||||||
triggers:
|
triggers:
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
# - type: GitHub
|
{#
|
||||||
# github:
|
- type: GitHub
|
||||||
# # Not sure why secretReference does not work, but it doesn't.
|
github:
|
||||||
# # secretReference:
|
# Not sure why secretReference does not work, but it doesn't.
|
||||||
# # name: github-webook
|
# secretReference:
|
||||||
# secret: "{{ badges_stg_github_secret }}"
|
# name: github-webook
|
||||||
|
secret: "{{ badges_stg_github_secret }}"
|
||||||
|
#}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue