parent
0f56b9d028
commit
c1b3933f22
16
.drone.yml
16
.drone.yml
@ -20,9 +20,13 @@ steps:
|
|||||||
- name: Diff badhouseplants
|
- name: Diff badhouseplants
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
|
KUBECONFIG_CONTENT:
|
||||||
|
from_secret: KUBECONFIG_CONTENT
|
||||||
SOPS_AGE_KEY:
|
SOPS_AGE_KEY:
|
||||||
from_secret: SOPS_AGE_KEY
|
from_secret: SOPS_AGE_KEY
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir $HOME/.kube
|
||||||
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e badhouseplants diff --suppress-secrets
|
- helmfile -e badhouseplants diff --suppress-secrets
|
||||||
|
|
||||||
- name: Diff eterosoft
|
- name: Diff eterosoft
|
||||||
@ -30,7 +34,11 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
SOPS_AGE_KEY:
|
SOPS_AGE_KEY:
|
||||||
from_secret: SOPS_AGE_KEY
|
from_secret: SOPS_AGE_KEY
|
||||||
|
KUBECONFIG_CONTENT:
|
||||||
|
from_secret: KUBECONFIG_CONTENT
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir $HOME/.kube
|
||||||
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e etersoft diff --suppress-secrets
|
- helmfile -e etersoft diff --suppress-secrets
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -55,17 +63,25 @@ steps:
|
|||||||
- name: Apply badhouseplants
|
- name: Apply badhouseplants
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
|
KUBECONFIG_CONTENT:
|
||||||
|
from_secret: KUBECONFIG_CONTENT
|
||||||
SOPS_AGE_KEY:
|
SOPS_AGE_KEY:
|
||||||
from_secret: SOPS_AGE_KEY
|
from_secret: SOPS_AGE_KEY
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir $HOME/.kube
|
||||||
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e badhouseplants apply --suppress-secrets
|
- helmfile -e badhouseplants apply --suppress-secrets
|
||||||
|
|
||||||
- name: Apply eterosoft
|
- name: Apply eterosoft
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
environment:
|
environment:
|
||||||
|
KUBECONFIG_CONTENT:
|
||||||
|
from_secret: KUBECONFIG_CONTENT
|
||||||
SOPS_AGE_KEY:
|
SOPS_AGE_KEY:
|
||||||
from_secret: SOPS_AGE_KEY
|
from_secret: SOPS_AGE_KEY
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir $HOME/.kube
|
||||||
|
- echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config
|
||||||
- helmfile -e etersoft apply --suppress-secrets
|
- helmfile -e etersoft apply --suppress-secrets
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
env:
|
||||||
|
DRONE_RPC_SECRET: qwFYt9UNsZeBhJ9RG5h6dKaKza8kMD
|
Reference in New Issue
Block a user