maybe just a typo
This commit is contained in:
parent
a3c0539114
commit
bca5d4d09f
@ -15,19 +15,6 @@ stages:
|
|||||||
|
|
||||||
|
|
||||||
deploy-k8s-dev:
|
deploy-k8s-dev:
|
||||||
stage: deploy
|
|
||||||
variables:
|
|
||||||
CI_DEBUG_TRACE: "true"
|
|
||||||
tags:
|
|
||||||
- dev
|
|
||||||
- k8s
|
|
||||||
script:
|
|
||||||
- ls
|
|
||||||
- kubectl -n grassroots get po
|
|
||||||
only:
|
|
||||||
- bvander/deploy-to-k8s-dev
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: dtzar/helm-kubectl
|
image: dtzar/helm-kubectl
|
||||||
variables:
|
variables:
|
||||||
@ -36,8 +23,8 @@ deploy:
|
|||||||
- kubectl config set-cluster k8s --server="${K8S_DEV_SERVER}"
|
- kubectl config set-cluster k8s --server="${K8S_DEV_SERVER}"
|
||||||
- kubectl config set clusters.k8s.certificate-authority-data ${K8S_DEV_CERTIFICATE_AUTHORITY_DATA}
|
- kubectl config set clusters.k8s.certificate-authority-data ${K8S_DEV_CERTIFICATE_AUTHORITY_DATA}
|
||||||
- kubectl config set-credentials gitlab --token="${K8S_DEV_USER_TOKEN}"
|
- kubectl config set-credentials gitlab --token="${K8S_DEV_USER_TOKEN}"
|
||||||
- kubectl config set-context grassroots --cluster=k8s --user=gitlab
|
- kubectl config set-context default --cluster=k8s --user=gitlab
|
||||||
- kubectl config use-context grassroots
|
- kubectl config use-context default
|
||||||
#- sed -i "s/<VERSION>/${CI_COMMIT_SHORT_SHA}/g" deployment.yaml
|
#- sed -i "s/<VERSION>/${CI_COMMIT_SHORT_SHA}/g" deployment.yaml
|
||||||
#- kubectl apply -f deployment.yaml
|
#- kubectl apply -f deployment.yaml
|
||||||
- kubectl get po
|
- kubectl get po
|
||||||
|
Loading…
Reference in New Issue
Block a user