32 lines
779 B
YAML
32 lines
779 B
YAML
|
# ----------------------------------------------
|
||
|
# -- Check da helm pipeline
|
||
|
# ----------------------------------------------
|
||
|
when:
|
||
|
- event: cron
|
||
|
cron: nightly
|
||
|
steps:
|
||
|
check badhouseplants:
|
||
|
image: ghcr.io/allanger/check-da-helm-helmfile-secrets:stable
|
||
|
secrets:
|
||
|
- sops_age_key
|
||
|
environment:
|
||
|
RUST_LOG: info
|
||
|
commands:
|
||
|
- cdh --kind helmfile -p $CI_WORKSPACE/helmfile.yaml -o
|
||
|
|
||
|
notification:
|
||
|
image: deblan/woodpecker-email
|
||
|
settings:
|
||
|
dsn:
|
||
|
from_secret: smtp_dsn
|
||
|
from:
|
||
|
address: woody@badhouseplants.net
|
||
|
name: Woody Woodpecker
|
||
|
recipients:
|
||
|
- allanger@badhouseplants.net
|
||
|
subject: CDH result
|
||
|
target: main
|
||
|
attachment: result.html
|
||
|
when:
|
||
|
- status: [success, failure]
|