bodhi: Trigger builds off of the base-image.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2019-05-15 19:06:24 +00:00
parent d34226763b
commit 33261bd578
2 changed files with 14 additions and 6 deletions

View file

@ -101,12 +101,6 @@
- role: openshift/start-build
app: bodhi
buildname: bodhi-base
- role: openshift/start-build
app: bodhi
buildname: bodhi-web
- role: openshift/start-build
app: bodhi
buildname: bodhi-consumer
- role: openshift/object
app: bodhi
template_fullpath: "{{roles_path}}/bodhi2/base/templates/configmap.yml"

View file

@ -76,6 +76,13 @@ items:
type: Docker
dockerStrategy:
noCache: false
sourceStrategy:
from:
kind: "ImageStreamTag"
name: "bodhi-base:latest"
triggers:
- type: "imageChange"
imageChange: {}
output:
to:
kind: ImageStreamTag
@ -111,6 +118,13 @@ items:
type: Docker
dockerStrategy:
noCache: false
sourceStrategy:
from:
kind: "ImageStreamTag"
name: "bodhi-base:latest"
triggers:
- type: "imageChange"
imageChange: {}
output:
to:
kind: ImageStreamTag