forked from rancher/ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
31 lines (29 loc) · 900 Bytes
/
.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
---
pipeline:
build:
privileged: true
image: rancher/dind:v0.3.0
commands:
- ENABLE_DOCKER=true UPLOAD_LATEST=true ./scripts/ci
when:
branch: "master"
event:
exclude: [pull_request]
build:
privileged: true
image: rancher/dind:v0.3.0
commands:
- ENABLE_DOCKER=true ./scripts/ci
when:
branch:
exclude: ["master"]
# Needs envvar SLACK_TOKEN
slack_blame:
image: plugins/slack-blame
channel: ui
success_template: |
{{repo.owner}}/{{repo.name}} branch: {{build.branch}} commit: {{build.commit}} by {{build.author}} <{{build.email}}> - {{commit.message}} - {{build.link}}
failure_template: |
{{repo.owner}}/{{repo.name}} branch: {{build.branch}} commit: {{build.commit}} by {{build.author}} <{{build.email}}> - {{commit.message}} - {{build.link}}
when:
status: [ success, failure ]