From 434805c91495216e40426573a7e2f1d96ee2a69f Mon Sep 17 00:00:00 2001 From: Blair Vanderlugt Date: Tue, 24 Aug 2021 09:48:38 -0700 Subject: [PATCH] progress --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 50cad8ad..02748cf5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,11 +29,11 @@ deploy-k8s-dev: #- kubectl apply -f deployment.yaml - echo "Wiping state..." - kubectl delete jobs.batch --all - - kubectl delete hr postgresql && kubectl delete --wait=false pvc -l 'app.kubernetes.io/name=postgresql' + - kubectl delete hr postgresql && kubectl delete pvc -l 'app.kubernetes.io/name=postgresql' - kubectl delete sts,pvc -l 'app=bloxberg-validator' - - kubectl delete hr redis && kubectl delete --wait=false pvc -l 'app=redis' + - kubectl delete hr redis && kubectl delete pvc -l 'app=redis' - kubectl apply -f kubernetes/eth-node/ -f kubernetes/postgresql/ -f kubernetes/redis/ - - echo "run database migrations..." - - kubectl rollout restart deployments + - echo "deploy and run database migrations..." + - k apply -f kubernetes/ - echo "run contract migrations..." - kubectl apply -f kubernetes/contract-migration/contract-migration-job.yaml