testdays: move on from db init to db upgrades upon redeploy
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
8dbce648f4
commit
2cee47a2f3
1 changed files with 4 additions and 2 deletions
|
@ -18,8 +18,10 @@ spec:
|
|||
failurePolicy: Abort
|
||||
execNewPod:
|
||||
containerName: testdays
|
||||
command: ["python", "/opt/app-root/src/testdays/cli.py", "init_db"]
|
||||
# command: ["python", "/opt/app-root/src/testdays/cli.py", "upgrade_db"]
|
||||
# We only need to init the database the first time, after we just need to check
|
||||
# for DB upgrades
|
||||
# command: ["python", "/opt/app-root/src/testdays/cli.py", "init_db"]
|
||||
command: ["python", "/opt/app-root/src/testdays/cli.py", "upgrade_db"]
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue