From f2c161017d6feb71dd24347c8a121c4b04537ad4 Mon Sep 17 00:00:00 2001 From: Kate Goldenring Date: Wed, 31 Jul 2024 09:54:18 -0700 Subject: [PATCH] publish multi trigger app and increase wait timeout on app deploys Signed-off-by: Kate Goldenring --- scripts/deploy-workloads.sh | 2 +- .../workloads-pushed-using-spin-registry-push/workloads.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/deploy-workloads.sh b/scripts/deploy-workloads.sh index 245e9b6..95c6d7d 100755 --- a/scripts/deploy-workloads.sh +++ b/scripts/deploy-workloads.sh @@ -22,7 +22,7 @@ else fi # wait for all the pods to be ready -kubectl wait --for=condition=ready --timeout=50s pod --all +kubectl wait --for=condition=ready --timeout=120s pod --all # get and describe all the pods echo ">>> Pods:" diff --git a/tests/workloads-pushed-using-spin-registry-push/workloads.yaml b/tests/workloads-pushed-using-spin-registry-push/workloads.yaml index b7dd54c..bce44cf 100644 --- a/tests/workloads-pushed-using-spin-registry-push/workloads.yaml +++ b/tests/workloads-pushed-using-spin-registry-push/workloads.yaml @@ -205,6 +205,11 @@ spec: command: ["/"] ports: - containerPort: 80 + env: + - name: SPIN_VARIABLE_REDIS_ADDRESS + value: redis://redis-service.default.svc.cluster.local:6379 + - name: SPIN_VARIABLE_REDIS_CHANNEL + value: testchannel --- apiVersion: v1 kind: Service