From 326f88e2fc2e565b53e79e3095ee152644a4c56c Mon Sep 17 00:00:00 2001 From: kimscott Date: Tue, 10 Dec 2019 11:52:48 +0900 Subject: [PATCH] build file --- cloudbuild.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index be1f4ba..5868208 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -38,10 +38,10 @@ steps: _GATEWAY_IP=$$(kubectl get -o jsonpath="{.status.loadBalancer.ingress[0].ip}" svc gateway --ignore-not-found) _GATEWAY_PORT=$$(kubectl get -o jsonpath="{.spec.ports[0].port}" svc gateway --ignore-not-found) - if [ ${_GATEWAY_IP} ] then else _GATEWAY_IP=localhost - fi - if [ ${_GATEWAY_PORT} ] then else _GATEWAY_PORT=8080 - fi + if [ ${_GATEWAY_IP} ] then else _GATEWAY_IP=localhost fi + if [ ${_GATEWAY_PORT} ] then else _GATEWAY_PORT=8080 fi + + echo ${_GATEWAY_IP} cat <