Skip to content

Commit

Permalink
change regi
Browse files Browse the repository at this point in the history
  • Loading branch information
kimscott committed Mar 9, 2020
1 parent 8d0113e commit d10b3ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- CLOUDSDK_CONTAINER_CLUSTER=cluster-1

0 comments on commit d10b3ee

Please sign in to comment.