[CI] reword CI and instal gettext-base for envsubst
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8db37c73f7
commit
fd5ad2fb2f
1 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,7 @@ kind: pipeline
|
||||||
name: deploy
|
name: deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build image
|
- name: deploy app
|
||||||
image: bitnami/kubectl
|
image: bitnami/kubectl
|
||||||
environment:
|
environment:
|
||||||
KUBE_USERNAME:
|
KUBE_USERNAME:
|
||||||
|
@ -85,6 +85,8 @@ steps:
|
||||||
KUBE_CA:
|
KUBE_CA:
|
||||||
form_secret: kubectl_ca
|
form_secret: kubectl_ca
|
||||||
commands:
|
commands:
|
||||||
|
- sudo apt-get update
|
||||||
|
- sudo apt-get install gettext-base
|
||||||
- cat kube/kubeconfig_template.yaml | envsubst > /.kube/config
|
- cat kube/kubeconfig_template.yaml | envsubst > /.kube/config
|
||||||
- kubectl get pods
|
- kubectl get pods
|
||||||
- kubectl get deployments
|
- kubectl get deployments
|
||||||
|
|
Loading…
Reference in a new issue