From c2ffc1390139a64f8efe7937850f70df9f6bcc49 Mon Sep 17 00:00:00 2001 From: Jirka Kremser <535866+jkremser@users.noreply.github.com> Date: Fri, 18 Oct 2024 15:47:08 +0200 Subject: [PATCH] Don't wait for agent to be ready (for now) (#54) Signed-off-by: Jirka Kremser --- .github/workflows/gh-release-chart.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gh-release-chart.yml b/.github/workflows/gh-release-chart.yml index 207c37e3..a6ee6962 100644 --- a/.github/workflows/gh-release-chart.yml +++ b/.github/workflows/gh-release-chart.yml @@ -47,8 +47,6 @@ jobs: 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 - echo -e "\n\n\n pods:\n\n" - kubectl get pods -A - name: Smoke test helm rendering and deployability (addon chart) if: inputs.chart == 'http-add-on' @@ -71,8 +69,6 @@ jobs: kubectl wait --timeout=600s -nkeda --for=condition=ready pod -lapp.kubernetes.io/component=operator,app.kubernetes.io/part-of=keda-add-ons-http kubectl wait --timeout=600s -nkeda --for=condition=ready pod -lapp.kubernetes.io/component=scaler,app.kubernetes.io/part-of=keda-add-ons-http kubectl wait --timeout=600s -nkeda --for=condition=ready pod -lapp.kubernetes.io/component=interceptor,app.kubernetes.io/part-of=keda-add-ons-http - echo -e "\n\n\n pods:\n\n" - kubectl get pods -A - name: Smoke test helm rendering and deployability (kedify agent chart) if: inputs.chart == 'kedify-agent' run: | @@ -85,7 +81,11 @@ jobs: --set agent.apiKey=kfy_facefaceface424242d0f7e1963c7d542aee9d62b66c4c705ec70108655b3c000 \ --set agent.orgId=9151f21f-42ab-42ab-42ab-f4af67cddf54 | kubectl apply -f - sleep 10 - kubectl rollout status --timeout=300s -nkeda deploy/kedify-agent + # todo: + # kubectl rollout status --timeout=300s -nkeda deploy/kedify-agent + - name: Check pods + if: always() + run: | sleep 5 echo -e "\n\n\n pods:\n\n" kubectl get pods -A @@ -200,7 +200,8 @@ jobs: set +x [ "$i" = "16" ] && exit 1 done - kubectl rollout status --timeout=300s -nkeda deploy/kedify-agent + # todo: + # kubectl rollout status --timeout=300s -nkeda deploy/kedify-agent echo -e "\n\n\n pods:\n\n" kubectl get pods -A