From bf671bf80675216fed577d3578563e23a38f1bfb Mon Sep 17 00:00:00 2001 From: Alessandro De Maria Date: Sat, 17 Aug 2024 21:04:49 +0000 Subject: [PATCH] fix integration test --- .github/workflows/integration-test.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 796b5974..b8cf787c 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -22,17 +22,19 @@ jobs: - name: compile run: | ./kapitan compile - + - uses: azure/setup-kubectl@v3 id: install - - name: Create kind cluster - uses: helm/kind-action@v1.2.0 - with: - cluster_name: kind - - - name: Check connectivity to the cluster - run: ./compiled/tutorial/scripts/kubectl get pods + - name: setups the cluster + run: | + ./compiled/tutorial/scripts/setup_cluster + ./compiled/tutorial/scripts/setup_context + ./compiled/tutorial/scripts/kubectl get pods - name: Run chart-testing (install) - run: ./compiled/tutorial/scripts/apply \ No newline at end of file + run: ./compiled/tutorial/scripts/apply + + - name: setups the cluster + run: | + ./compiled/tutorial/scripts/kubectl rollout status deployment echo-server -w --timeout=60s \ No newline at end of file