mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 14:02:12 +08:00
Badges: upgrade the DB on redeployments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -139,14 +139,14 @@ spec:
|
||||
deploymentconfig: consumer
|
||||
strategy:
|
||||
type: Recreate
|
||||
# recreateParams:
|
||||
# mid:
|
||||
# execNewPod:
|
||||
# command: [/opt/app-root/bin/fmn, database, sync]
|
||||
# containerName: consumer
|
||||
# volumes:
|
||||
# - etc-badges
|
||||
# failurePolicy: Abort
|
||||
recreateParams:
|
||||
mid:
|
||||
execNewPod:
|
||||
command: [/opt/app-root/bin/tahrir-sync-db, /etc/badges/tahrir.cfg]
|
||||
containerName: consumer
|
||||
volumes:
|
||||
- etc-badges
|
||||
failurePolicy: Abort
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
|
||||
Reference in New Issue
Block a user