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:
Aurélien Bompard 2022-06-27 11:06:00 +02:00
parent 940e193cfd
commit c0d80427b9
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -147,6 +147,15 @@
- name: Scale up pods
command: oc -n bodhi scale dc/bodhi-web --replicas={{ bodhi_openshift_pods }}
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:
- name: tell nagios to unshush w.r.t. the frontend