add ntfy checks
This commit is contained in:
parent
2a8e859dc3
commit
a6909bd1b5
1 changed files with 75 additions and 39 deletions
|
|
@ -62,3 +62,28 @@ steps:
|
|||
operator: 'Equal'
|
||||
value: 'true'
|
||||
effect: 'NoSchedule'
|
||||
|
||||
- name: "ntfy"
|
||||
image: codeberg.org/l-x/woodpecker-ntfy:1.3.1
|
||||
when:
|
||||
- status: [failure]
|
||||
settings:
|
||||
url: https://ntfy.devxy.io/ci-builds
|
||||
token:
|
||||
from_secret: ntfy_token
|
||||
title: "CI '${CI_REPO}' failed"
|
||||
actions: view, Open build, ${CI_PIPELINE_URL}, clear=false;
|
||||
click: ${CI_BUILD_LINK}
|
||||
message: |
|
||||
Workflow: ${CI_WORKFLOW_NAME/\n//}
|
||||
Commit message: ${CI_COMMIT_MESSAGE/\n//}
|
||||
Commit Author: ${CI_COMMIT_AUTHOR/\n//}
|
||||
backend_options:
|
||||
kubernetes:
|
||||
resources:
|
||||
requests:
|
||||
memory: 100Mi
|
||||
cpu: 0m
|
||||
limits:
|
||||
memory: 300Mi
|
||||
cpu: 200m
|
||||
Loading…
Reference in a new issue