25 lines
745 B
YAML
25 lines
745 B
YAML
.notify:
|
|
image: alpine
|
|
stage: notification
|
|
dependencies: []
|
|
cache: {}
|
|
before_script:
|
|
- apk update && apk add git curl bash
|
|
|
|
schedule:package-and-qa:notify-success:
|
|
extends:
|
|
- .only-canonical-schedules
|
|
- .notify
|
|
script:
|
|
- 'scripts/notify-slack qa-master ":tada: Scheduled QA against master passed! :tada: See $CI_PIPELINE_URL." ci_passing'
|
|
needs: ["schedule:package-and-qa"]
|
|
when: on_success
|
|
|
|
schedule:package-and-qa:notify-failure:
|
|
extends:
|
|
- .only-canonical-schedules
|
|
- .notify
|
|
script:
|
|
- 'scripts/notify-slack qa-master ":skull_and_crossbones: Scheduled QA against master failed! :skull_and_crossbones: See $CI_PIPELINE_URL." ci_failing'
|
|
needs: ["schedule:package-and-qa"]
|
|
when: on_failure
|