diff --git a/playbooks/openshift-apps/waiverdb.yml b/playbooks/openshift-apps/waiverdb.yml index 89298697e9..89f2977f02 100644 --- a/playbooks/openshift-apps/waiverdb.yml +++ b/playbooks/openshift-apps/waiverdb.yml @@ -56,14 +56,13 @@ app: waiverdb template: imagestream.yml objectname: imagestream.yml + - role: openshift/import-image + app: waiverdb + imagestreamname: waiverdb-upstream - role: openshift/object app: waiverdb template: buildconfig.yml objectname: buildconfig.yml - - role: openshift/start-build - app: waiverdb - buildname: waiverdb-docker-build - objectname: waiverdb-docker-build - role: openshift/object app: waiverdb template: configmap.yml diff --git a/roles/openshift/import-image/tasks/main.yml b/roles/openshift/import-image/tasks/main.yml new file mode 100644 index 0000000000..fa4e8b16f0 --- /dev/null +++ b/roles/openshift/import-image/tasks/main.yml @@ -0,0 +1,2 @@ +- name: Run `oc import-image` + shell: oc -n {{app}} import-image {{imagestreamname}}