Also upgrade Bodhi in openshift in the Bodhi manual upgrade playbook
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
940e193cfd
commit
c0d80427b9
1 changed files with 9 additions and 0 deletions
|
@ -147,6 +147,15 @@
|
||||||
- name: Scale up pods
|
- name: Scale up pods
|
||||||
command: oc -n bodhi scale dc/bodhi-web --replicas={{ bodhi_openshift_pods }}
|
command: oc -n bodhi scale dc/bodhi-web --replicas={{ bodhi_openshift_pods }}
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
# Redeploy the build config as it may request a newer version in the Dockerfile
|
||||||
|
- role: openshift/object
|
||||||
|
app: bodhi
|
||||||
|
template: buildconfig.yml
|
||||||
|
objectname: buildconfig.yml
|
||||||
|
# Start a build with the new buildconfig
|
||||||
|
- role: openshift/start-build
|
||||||
|
app: bodhi
|
||||||
|
buildname: bodhi-base
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: tell nagios to unshush w.r.t. the frontend
|
- name: tell nagios to unshush w.r.t. the frontend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue