File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,14 @@ jobs:
7373 kubectl wait --for=condition=complete job/postgres-on-deploy -n ${namespace} --timeout=600s;
7474 - name : Migration
7575 run : |
76- kubectl delete job -n ${namespace} --ignore-not-found=true data-migration
76+ kubectl delete job -n ${namespace} --ignore-not-found=true data-migration-on-reset
7777 helm template -f ${namespace}.json \
7878 -s templates/data-migration-job.yaml \
7979 --namespace ${namespace} \
8080 oci://ghcr.io/opencrvs/opencrvs-services | kubectl apply -n ${namespace} --wait=true -f -
8181 sleep 10;
82- kubectl logs job/data-migration -f -n ${namespace} || true
83- kubectl wait --for=condition=complete job/data-migration -n ${namespace} --timeout=600s;
82+ kubectl logs job/data-migration-on-reset -f -n ${namespace} || true
83+ kubectl wait --for=condition=complete job/data-migration-on-reset -n ${namespace} --timeout=600s;
8484 - name : Re-run postgres on-deploy
8585 run : |
8686 kubectl delete job -n ${namespace} --ignore-not-found=true postgres-on-deploy;
You can’t perform that action at this time.
0 commit comments