Changeset - a81956359bc1
[Not reviewed]
0 1 0
James Polley - 6 years ago 2018-06-17 04:43:45
jp@jamezpolley.com
Auto-deploy dev changes to dev instance
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
.gitlab-ci.yml
Show inline comments
...
 
@@ -48,25 +48,24 @@ build_2019_dev_image:
 
  except:
 
    - master
 

	
 
k8s-2019_dev-deploy:
 
  image: google/cloud-sdk
 
  stage: deploy
 
  script:
 
  - echo "${CA_CERT}" > cert.crt
 
  - kubectl config set-cluster cluster --server="${KUBE_SERVER}" --embed-certs=true --certificate-authority=cert.crt
 
  - kubectl config set-context cluster --cluster=cluster --namespace=rego-dev --user=gitlab-sa
 
  - kubectl config use-context cluster
 
  - kubectl --token "${GL_KUBE_TOKEN}" set image deployment/symposion-app symposion-app=asia.gcr.io/linuxconfsydney/symposion_app_2019_dev:$CI_COMMIT_SHA
 
  when: manual
 
  only:
 
  - dev/2019
 
  - dev/*
 
  environment:
 
    name: dev_2019
 
    url: https://dev.lca2019.org
 

	
 
k8s-2019_staging-deploy:
 
  image: google/cloud-sdk
 
  stage: deploy
 
  script:
 
  - echo "${CA_CERT}" > cert.crt
0 comments (0 inline, 0 general)