mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
W2FM: upgrade the DB on redeployments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -12,7 +12,15 @@ spec:
|
||||
app: webhook2fedmsg
|
||||
deploymentconfig: app
|
||||
strategy:
|
||||
resources: {}
|
||||
type: Recreate
|
||||
recreateParams:
|
||||
mid:
|
||||
execNewPod:
|
||||
command: [/opt/app-root/bin/flask, db, sync]
|
||||
containerName: app
|
||||
volumes:
|
||||
- config
|
||||
failurePolicy: Abort
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user