Skip to content

Commit 07e8567

Browse files
committed
fix: rename data-migration for reset workflow to avoid conflict
1 parent 9a58a9d commit 07e8567

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/k8s-reset-data.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)