From d10b3eeadabb8ec8c372d0365d41e296a382915a Mon Sep 17 00:00:00 2001 From: kimscott Date: Mon, 9 Mar 2020 10:51:58 +0900 Subject: [PATCH] change regi --- azure-pipelines.yml | 14 +------------- cloudbuild.yaml | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f64c8c9..f6f2c8f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -85,18 +85,6 @@ stages: secretType: 'dockerRegistry' containerRegistryType: 'Azure Container Registry' outputFormat: "jsonpath='{.status.loadBalancer.ingress[0].ip}'" - - task: Kubernetes@1 - displayName: 'Get gateway port' - name: 'gatewayport' - continueOnError: true - inputs: - connectionType: 'Kubernetes Service Connection' - namespace: 'default' - command: 'get' - arguments: "svc gateway --ignore-not-found" - secretType: 'dockerRegistry' - containerRegistryType: 'Azure Container Registry' - outputFormat: "jsonpath='{.spec.ports[0].port}'" - task: Kubernetes@1 inputs: connectionType: 'Kubernetes Service Connection' @@ -128,7 +116,7 @@ stages: - containerPort: 8080 env: - name: VUE_APP_API_HOST - value: http://${gatewayip.KubectlOutput}:${gatewayport.KubectlOutput} + value: http://${gatewayip.KubectlOutput}:8080 secretType: 'dockerRegistry' containerRegistryType: 'Azure Container Registry' - task: Kubernetes@1 diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 21e32d6..71c3b87 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -87,4 +87,4 @@ options: env: # # location/name of GKE cluster (used by all kubectl commands) - CLOUDSDK_COMPUTE_ZONE=asia-northeast1-a - - CLOUDSDK_CONTAINER_CLUSTER=standard-cluster-1 \ No newline at end of file + - CLOUDSDK_CONTAINER_CLUSTER=cluster-1 \ No newline at end of file