Skip to content

Commit

Permalink
ci: Update Helm install command with timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kahirokunn committed Nov 20, 2024
1 parent 5720465 commit 531c404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-http-add-on.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
run: helm template http-add-on ./http-add-on/ --namespace keda --values test-values.yaml

- name: Install Helm chart
run: helm install http-add-on ./http-add-on/ --namespace keda --values test-values.yaml --wait
run: helm install http-add-on ./http-add-on/ --namespace keda --values test-values.yaml --wait --timeout 15m

- name: Show Kubernetes resources
run: kubectl get all --namespace keda
Expand All @@ -133,7 +133,7 @@ jobs:
do
READY=$(kubectl get so/keda-add-ons-http-interceptor -n keda -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}')
echo "ScaledObjet is ready: $READY"
if [[ "$READY" == "True" ]]; then
if [[ "$READY" == "True" ]]; then
exit 0
fi
sleep 15s
Expand Down

0 comments on commit 531c404

Please sign in to comment.