From be88870830c9517f794734c1b14bef3725dec0a0 Mon Sep 17 00:00:00 2001 From: FrantiĊĦek Zatloukal Date: Oct 06 2020 08:17:01 +0000 Subject: Testdays: Use non-destructive init --- diff --git a/roles/openshift-apps/testdays/templates/deploymentconfig.yml b/roles/openshift-apps/testdays/templates/deploymentconfig.yml index 582e753..ac6e3e8 100644 --- a/roles/openshift-apps/testdays/templates/deploymentconfig.yml +++ b/roles/openshift-apps/testdays/templates/deploymentconfig.yml @@ -20,8 +20,7 @@ spec: containerName: testdays # 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", "--destructive"] - #command: ["python", "/opt/app-root/src/testdays/cli.py", "upgrade_db"] + command: ["python", "/opt/app-root/src/testdays/cli.py", "init_db"] template: metadata: labels: