This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
k8s-cluster-config/.woodpecker/.cdh.yml

32 lines
854 B
YAML
Raw Normal View History

2023-10-20 19:55:21 +00:00
# ----------------------------------------------
# -- Check da helm pipeline
# ----------------------------------------------
when:
2024-01-22 07:35:32 +00:00
- push
2023-12-08 13:12:48 +00:00
- event: cron
cron: nightly
2023-10-20 19:55:21 +00:00
steps:
check badhouseplants:
image: ghcr.io/allanger/check-da-helm-helmfile-secrets:stable
secrets:
- sops_age_key
environment:
RUST_LOG: info
commands:
2023-12-08 13:12:48 +00:00
- cdh --kind helmfile -p $CI_WORKSPACE/helmfile.yaml --helmfile-environment badhouseplants -o --output html >> result.html
2023-10-20 19:55:21 +00:00
notification:
image: deblan/woodpecker-email
settings:
2024-01-22 07:35:32 +00:00
dsn:
from_secret: smtp_dsn
from:
address: woody@badhouseplants.net
name: Woody Woodpecker
2023-10-20 19:55:21 +00:00
recipients:
2023-12-08 13:12:48 +00:00
- allanger@badhouseplants.net
2023-10-20 19:55:21 +00:00
subject: CDH result
target: main
2023-12-08 13:12:48 +00:00
attachment: result.html
2023-10-20 19:55:21 +00:00
when:
- status: [success, failure]