From 8b95d86f6beb41334e92163480eacbd2528df958 Mon Sep 17 00:00:00 2001 From: Jan Wozniak Date: Thu, 1 Aug 2024 12:37:57 +0200 Subject: [PATCH] smoke_tests: wait for deployments availability (#37) Signed-off-by: Jan Wozniak --- .github/workflows/gh-release-chart.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/gh-release-chart.yml b/.github/workflows/gh-release-chart.yml index 15a1dd9c..26b12c0f 100644 --- a/.github/workflows/gh-release-chart.yml +++ b/.github/workflows/gh-release-chart.yml @@ -38,6 +38,9 @@ jobs: helm template ./keda \ -n keda \ --set customManagedBy=kedify | kubectl apply --server-side --force-conflicts -f - + kubectl wait --timeout=300s --for=condition=Available deployment/keda-operator + kubectl wait --timeout=300s --for=condition=Available deployment/keda-admission-webhooks + kubectl wait --timeout=300s --for=condition=Available deployment/keda-operator-metrics-apiserver kubectl wait --timeout=300s -nkeda --for=condition=ready pod -lapp.kubernetes.io/name=keda-admission-webhooks kubectl wait --timeout=300s -nkeda --for=condition=ready pod -lapp.kubernetes.io/name=keda-operator-metrics-apiserver kubectl wait --timeout=300s -nkeda --for=condition=ready pod -lapp.kubernetes.io/name=keda-operator