homeserver/.woodpecker/notify.yml

28 lines
606 B
YAML
Raw Normal View History

2024-01-24 20:53:56 +01:00
---
depends_on:
- gitleaks
- ansible-lint
2024-01-24 22:09:19 +01:00
runs_on:
- failure
2024-01-24 20:53:56 +01:00
2024-01-24 21:00:17 +01:00
skip_clone: true
2024-01-24 20:53:56 +01:00
steps:
2024-01-24 22:09:19 +01:00
- name: notify
2024-01-24 21:36:19 +01:00
image: registry.mgrote.net/allzweckcontainer:latest
commands:
- |
2024-01-24 21:47:16 +01:00
s-nail \
2024-01-24 22:09:19 +01:00
-s "CI: [$CI_PIPELINE_STATUS] $CI_REPO" \
2024-01-24 21:47:16 +01:00
-S mta=smtp://docker10.mgrote.net:1025 \
-S smtp-auth=none \
-S v15-compat \
-S from=ci@mgrote.net \
2024-01-24 21:53:08 +01:00
$CI_COMMIT_AUTHOR_EMAIL <<EOF
2024-01-24 21:47:16 +01:00
Repository: $CI_REPO
Commit: $CI_COMMIT_SHA
2024-01-24 22:15:35 +01:00
URL: $CI_PIPELINE_URL
2024-01-24 21:58:12 +01:00
URL-Git: $CI_PIPELINE_FORGE_URL
Status: $CI_PIPELINE_STATUS
2024-01-24 21:36:19 +01:00
EOF