|
|
|
|
@ -26,24 +26,24 @@ steps:
|
|
|
|
|
# - make
|
|
|
|
|
# - make push-all
|
|
|
|
|
|
|
|
|
|
- name: gotify
|
|
|
|
|
image: fredix/drone-gotify
|
|
|
|
|
settings:
|
|
|
|
|
gotifytoken:
|
|
|
|
|
from_secret: gotify-token
|
|
|
|
|
gotifyendpoint: http://push.shnee.net
|
|
|
|
|
gotifytitle: "{{repo.name}} - Pipeline Build {{build.number}}"
|
|
|
|
|
gotifypriority: 5
|
|
|
|
|
message: >
|
|
|
|
|
{{#success build.status}}
|
|
|
|
|
build {{build.number}} succeeded on {{repo.name}}. Good job
|
|
|
|
|
{{build.author}} {{build.link}}
|
|
|
|
|
{{else}}
|
|
|
|
|
build {{build.number}} failed on {{repo.name}}. Fix me please
|
|
|
|
|
{{build.author}} {{build.link}}
|
|
|
|
|
{{/success}}
|
|
|
|
|
when:
|
|
|
|
|
status: [success, failure]
|
|
|
|
|
# - name: gotify
|
|
|
|
|
# image: fredix/drone-gotify
|
|
|
|
|
# settings:
|
|
|
|
|
# gotifytoken:
|
|
|
|
|
# from_secret: gotify-token
|
|
|
|
|
# gotifyendpoint: http://push.shnee.net
|
|
|
|
|
# gotifytitle: "{{repo.name}} - Pipeline Build {{build.number}}"
|
|
|
|
|
# gotifypriority: 5
|
|
|
|
|
# message: >
|
|
|
|
|
# {{#success build.status}}
|
|
|
|
|
# build {{build.number}} succeeded on {{repo.name}}. Good job
|
|
|
|
|
# {{build.author}} {{build.link}}
|
|
|
|
|
# {{else}}
|
|
|
|
|
# build {{build.number}} failed on {{repo.name}}. Fix me please
|
|
|
|
|
# {{build.author}} {{build.link}}
|
|
|
|
|
# {{/success}}
|
|
|
|
|
# when:
|
|
|
|
|
# status: [success, failure]
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
- name: docker
|
|
|
|
|
|