-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.drone.yml
113 lines (102 loc) · 2.81 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
clone:
git:
image: plugins/git
depth: 50
tags: true
pipeline:
build:
image: appleboy/golang-testing
pull: true
commands:
- coverage all
- make release
- echo Done
# notify_1:
# pull: true
# image: plugins/slack
# channel: jenkins
# username: drone
# when:
# status: [ success, failure ]
# template: >
# {{#success build.status}}
# {{ build.author }} successfully pushed to {{ build.branch}}
# {{else}}
# {{ build.author }} broke the build. Hang your head in shame.
# {{/success}}
# image_url: https://cdn3.iconfinder.com/data/icons/picons-social/57/16-apple-128.png
# notify_2:
# pull: true
# image: plugins/slack
# channel: drone
# username: drone
# when:
# status: [ success, failure ]
# template: |
# {{#success build.status}}
# {{ build.author }} successfully pushed to {{ build.branch}}
# {{else}}
# {{ build.author }} broke the build. Hang your head in shame.
# {{/success}}
# slack:
# image: plugins/slack
# channel: drone
# username: drone
# when:
# status: [ killed, success, failure ]
# template: |
# *{{ build.status }}* <{{ build.link }}|{{ repo.owner }}/{{ repo.name }}#{{ truncate build.commit 8 }}> ({{ build.branch }}) by {{ build.author }}.
# icon_url: https://cdn3.iconfinder.com/data/icons/picons-social/57/16-apple-128.png
# line:
# image: appleboy/drone-line
# pull: true
# to: U77234666b0313021f873b85de44209de
# when:
# status: [ success, failure ]
# facebook:
# image: appleboy/drone-facebook
# pull: true
# to: 1234973386524610
# when:
# status: [ success, failure ]
# gtalk_1:
# image: appleboy/drone-gtalk
# pull: true
# to:
# when:
# status: [ success, failure ]
# gtalk_2:
# image: appleboy/drone-gtalk
# pull: true
# only_match_email: true
# message: "Please don't send duplicate of message"
# to:
# when:
# status: [ success, failure ]
# telegram_1:
# image: appleboy/drone-telegram
# pull: true
# to: 65382999:[email protected]
# when:
# status: [ success, failure ]
# telegram_2:
# image: appleboy/drone-telegram
# pull: true
# only_match_email: true
# to:
# - 65382999:[email protected]
# - 65382999
# message: "Please don't send duplicate of message"
# when:
# status: [ success, failure ]
# github:
# image: plugins/github-release
# files:
# - dist/release/*
# when:
# event: [ tag ]
# branch: [ refs/tags/* ]