Add an additional step to CI
This commit is contained in:
parent
d0908c6d70
commit
74560616e2
@ -22,7 +22,6 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- kubectl config get-contexts
|
|
||||||
- helmfile -e badhouseplants diff
|
- helmfile -e badhouseplants diff
|
||||||
|
|
||||||
- name: Diff eterosoft
|
- name: Diff eterosoft
|
||||||
@ -58,7 +57,9 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
|
- kubectl create clusterrolebinding $DRONE_COMMIT --clusterrole=cluster-admin --serviceaccount=drone-service:default
|
||||||
- helmfile -e badhouseplants apply
|
- helmfile -e badhouseplants apply
|
||||||
|
- kubectl delete clusterrolebinding $DRONE_COMMIT
|
||||||
|
|
||||||
- name: Apply eterosoft
|
- name: Apply eterosoft
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
|
Reference in New Issue
Block a user