From 65462aa997801778601ccd165ac875bf716cd7d5 Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo Date: Tue, 30 Jul 2024 11:18:00 +0200 Subject: [PATCH] watch the helm deployment --- .github/workflows/build_and_test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 19f90a22..0df8257a 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -156,6 +156,15 @@ jobs: --values test/helm/enterprise-integration-test-values.yaml \ --values test/helm/test-overrides.yaml + - name: Watch Helm deployment + run: | + kubectl get pods --watch & + KWPID=$! + kubectl wait --timeout=7m --all=true --for=condition=Available deploy && kill $KWPID + echo -n "Waiting for ESC Reindexing job to complete... " + kubectl wait --timeout=5m --for=condition=complete job/acs-alfresco-search-enterprise-reindexing + echo "Completed." + - name: Spit cluster status after install if: always() run: |