add a way to manually start an image build

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2017-07-25 18:34:14 +00:00
parent 20ff0788b7
commit 2d22a26a3b
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,7 @@
- { role: openshift/object, app: modernpaste, file: imagestream.yml }
- { role: openshift/object, app: modernpaste, template: secret.yml }
- { role: openshift/object, app: modernpaste, file: buildconfig.yml }
- { role: openshift/start-build, app: modernpaste, name: modernpaste-docker-build }
- { role: openshift/object, app: modernpaste, file: configmap.yml }
- { role: openshift/object, app: modernpaste, file: service.yml }
- { role: openshift/object, app: modernpaste, file: route.yml }

View file

@ -0,0 +1,3 @@
- name: Run `oc start-build`
shell: oc -n {{app}} start-build {{name}}
run_once: true