From 26f1f77f9f0fda9132d3bf7212b13876a0c85cbd Mon Sep 17 00:00:00 2001 From: denis-tingaikin Date: Sat, 21 Dec 2024 00:36:24 +0300 Subject: [PATCH] try wait for transactor Signed-off-by: denis-tingaikin --- .github/workflows/main.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index bd9e964..4184768 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -64,11 +64,12 @@ jobs: echo 127.0.0.1 huly.example | sudo tee -a /etc/hosts echo 127.0.0.1 account.huly.example | sudo tee -a /etc/hosts kubectl apply -R -f . - kubectl wait --for=condition=Available deployment/front --timeout 3m kubectl wait --for=condition=Available deployment/mongodb --timeout 3m + kubectl wait --for=condition=Available deployment/transactor --timeout 3m kubectl scale --replicas=0 deployment/account kubectl scale --replicas=1 deployment/account kubectl wait --for=condition=Available deployment/account --timeout 3m + - name: "Check login" run: | token=$(curl -v -H 'Content-Type: application/json' \