From 1c7519d124cbe962e105474d40bb5adbd0cdcb96 Mon Sep 17 00:00:00 2001 From: Stella Lok Date: Mon, 6 Jan 2020 13:35:44 +0800 Subject: [PATCH 1/2] address https://github.com/CircleCI-Public/spinnaker-orb/issues/16 by letting dockerize use a different url that doesn't return 403 --- src/commands/set-up-port-forwarding.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/set-up-port-forwarding.yml b/src/commands/set-up-port-forwarding.yml index fd802cf..8a64ec4 100644 --- a/src/commands/set-up-port-forwarding.yml +++ b/src/commands/set-up-port-forwarding.yml @@ -150,5 +150,5 @@ steps: GATE_TARGET_PORT="${GATE_DEFAULT_TARGET_PORT}" fi dockerize -timeout 60s \ - -wait ${DECK_PROTOCOL}://localhost:${DECK_TARGET_PORT} \ - -wait ${GATE_PROTOCOL}://localhost:${GATE_TARGET_PORT} + -wait ${DECK_PROTOCOL}://localhost:${DECK_TARGET_PORT}/health \ + -wait ${GATE_PROTOCOL}://localhost:${GATE_TARGET_PORT}/health From a1a84545dac7711b2e53147221791436b8f7a0d2 Mon Sep 17 00:00:00 2001 From: Stella Lok Date: Mon, 6 Jan 2020 14:57:21 +0800 Subject: [PATCH 2/2] don't use /health endpoint for Deck pod as it's inaccessible --- src/commands/set-up-port-forwarding.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/set-up-port-forwarding.yml b/src/commands/set-up-port-forwarding.yml index 8a64ec4..558924a 100644 --- a/src/commands/set-up-port-forwarding.yml +++ b/src/commands/set-up-port-forwarding.yml @@ -150,5 +150,5 @@ steps: GATE_TARGET_PORT="${GATE_DEFAULT_TARGET_PORT}" fi dockerize -timeout 60s \ - -wait ${DECK_PROTOCOL}://localhost:${DECK_TARGET_PORT}/health \ + -wait ${DECK_PROTOCOL}://localhost:${DECK_TARGET_PORT} \ -wait ${GATE_PROTOCOL}://localhost:${GATE_TARGET_PORT}/health