Add an additional step to CI

This commit is contained in:
Nikolai Rodionov 2023-02-19 10:49:37 +01:00
parent d0908c6d70
commit 74560616e2

View File

@ -22,7 +22,6 @@ steps:
commands:
- mkdir $HOME/.kube
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
- kubectl config get-contexts
- helmfile -e badhouseplants diff
- name: Diff eterosoft
@ -58,7 +57,9 @@ steps:
commands:
- mkdir $HOME/.kube
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
- kubectl create clusterrolebinding $DRONE_COMMIT --clusterrole=cluster-admin --serviceaccount=drone-service:default
- helmfile -e badhouseplants apply
- kubectl delete clusterrolebinding $DRONE_COMMIT
- name: Apply eterosoft
image: ghcr.io/helmfile/helmfile:canary