add a way to manually start an image build
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
20ff0788b7
commit
2d22a26a3b
2 changed files with 4 additions and 0 deletions
|
@ -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 }
|
||||
|
|
3
roles/openshift/start-build/tasks/main.yml
Normal file
3
roles/openshift/start-build/tasks/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
- name: Run `oc start-build`
|
||||
shell: oc -n {{app}} start-build {{name}}
|
||||
run_once: true
|
Loading…
Add table
Add a link
Reference in a new issue