coreos-cincinnati: use templated build ref

This commit is contained in:
Luca Bruno 2019-06-17 13:31:34 +00:00
parent e865a220fe
commit 51d85d91f9
No known key found for this signature in database
GPG key ID: A9834A2252078E4E
3 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,4 @@
---
# TODO(lucab): template refs from ansible var
apiVersion: v1
kind: BuildConfig
metadata:
@ -21,10 +20,10 @@ spec:
type: "Git"
git:
uri: "https://github.com/lucab/exp-dumnati.git"
ref: "124d9475717eae13cf2e76a8a455f0ee542a75cb"
ref: "{{dumnati_build_git_sha}}"
triggers:
- type: "ConfigChange"
output:
to:
kind: "ImageStreamTag"
name: "fedora-coreos-cincinnati:dumnati-124d9475717eae13cf2e76a8a455f0ee542a75cb"
name: "fedora-coreos-cincinnati:dumnati-{{dumnati_build_git_sha}}"

View file

@ -1 +1,2 @@
---
dumnati_build_git_sha: 124d9475717eae13cf2e76a8a455f0ee542a75cb

View file

@ -1 +1,2 @@
---
dumnati_build_git_sha: 124d9475717eae13cf2e76a8a455f0ee542a75cb