From 1eecaf4db3737f2060fe2167e4be18a284dab786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz> Date: Thu, 19 Sep 2024 14:44:41 +0000 Subject: [PATCH] Sync deploy script --- production2/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production2/deploy.sh b/production2/deploy.sh index 5c6b5dd..0ec26d4 100755 --- a/production2/deploy.sh +++ b/production2/deploy.sh @@ -52,4 +52,4 @@ ansible-playbook playbooks/squid.yaml ansible-playbook playbooks/cvmfs.yaml # wait for finish -while ansible -m command -a 'kubectl get pods --all-namespaces' master | tail -n +3 | grep -v ' Running '; do sleep 5; done +while ansible -m command -a 'kubectl get pods --all-namespaces' master | tail -n +3 | grep -Ev ' (Running|Completed) '; do sleep 5; done -- GitLab