Test notification
This commit is contained in:
parent
92ce78edde
commit
6201faf1f7
@ -13,6 +13,7 @@ steps:
|
|||||||
RUST_LOG: info
|
RUST_LOG: info
|
||||||
commands:
|
commands:
|
||||||
- cdh --kind helmfile -p $CI_WORKSPACE/helmfile.yaml --helmfile-environment badhouseplants -o --output html >> result.html
|
- cdh --kind helmfile -p $CI_WORKSPACE/helmfile.yaml --helmfile-environment badhouseplants -o --output html >> result.html
|
||||||
|
|
||||||
notification:
|
notification:
|
||||||
image: deblan/woodpecker-email
|
image: deblan/woodpecker-email
|
||||||
settings:
|
settings:
|
||||||
|
@ -16,6 +16,22 @@ steps:
|
|||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
|
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
|
||||||
- helmfile -e $ENVIRONMENT diff --suppress-secrets
|
- helmfile -e $ENVIRONMENT diff --suppress-secrets
|
||||||
|
|
||||||
|
notification:
|
||||||
|
image: deblan/woodpecker-email
|
||||||
|
settings:
|
||||||
|
from: woody@badhouseplants.net
|
||||||
|
host: badhouseplants.net
|
||||||
|
username:
|
||||||
|
from_secret: smtp_username
|
||||||
|
password:
|
||||||
|
from_secret: smtp_password
|
||||||
|
recipients:
|
||||||
|
- allanger@badhouseplants.net
|
||||||
|
subject: CDH result
|
||||||
|
target: main
|
||||||
|
when:
|
||||||
|
- status: [success, failure]
|
||||||
apply:
|
apply:
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
secrets: [sops_age_key, kubeconfig_content]
|
secrets: [sops_age_key, kubeconfig_content]
|
||||||
|
Reference in New Issue
Block a user