Setup check-da-helm
This commit is contained in:
parent
94f81a9213
commit
cb7188064a
@ -2,8 +2,8 @@
|
||||
# -- Check da helm pipeline
|
||||
# ----------------------------------------------
|
||||
when:
|
||||
- event: push
|
||||
# cron: nightly
|
||||
- event: cron
|
||||
cron: nightly
|
||||
steps:
|
||||
check badhouseplants:
|
||||
image: ghcr.io/allanger/check-da-helm-helmfile-secrets:stable
|
||||
@ -12,20 +12,23 @@ steps:
|
||||
environment:
|
||||
RUST_LOG: info
|
||||
commands:
|
||||
- echo "Hey, bud, some helm releases are outdated:" > message_file.tpl
|
||||
- cdh --kind helmfile -p $DRONE_WORKSPACE/helmfile.yaml --helmfile-environment badhouseplants -o >> message_file.tpl
|
||||
- cdh --kind helmfile -p $CI_WORKSPACE/helmfile.yaml --helmfile-environment badhouseplants -o --output html >> result.html
|
||||
notification:
|
||||
image: deblan/woodpecker-email
|
||||
settings:
|
||||
from.address: woody@badhouseplants.net
|
||||
from.name: Woody Woodpecker
|
||||
from: woody@badhouseplants.net
|
||||
host: badhouseplants.net
|
||||
skip_verify: true
|
||||
no_starttls: false
|
||||
username:
|
||||
from_secret: smtp_username
|
||||
password:
|
||||
from_secret: smtp_password
|
||||
recipients:
|
||||
- allanger@badhouseplants.net
|
||||
subject: CDH result
|
||||
target: main
|
||||
recipients_only: true
|
||||
attachment: result.html
|
||||
when:
|
||||
- status: [success, failure]
|
Reference in New Issue
Block a user