-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
46 lines (41 loc) · 976 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
clone:
path: github.com/drone-plugins
recursive: true
build:
image: armhfbuild/golang:1.5
environment:
- CGO_ENABLED=0
commands:
- git clone --single-branch https://github.com/drone-plugins/drone-gitter/
- cd drone-gitter/
- sed -i 's/FROM alpine/FROM armhfbuild\/alpine/' Dockerfile
- make deps
- make vet
- make build
- make test
publish:
docker:
context: drone-gitter
file: drone-gitter/Dockerfile
username: $$DOCKER_USER
password: $$DOCKER_PASSWORD
email: $$DOCKER_EMAIL
repo: armhfplugins/drone-gitter
when:
repo: armhf-drone-plugins/drone-gitter
branch: master
notify:
gitter:
webhook: https://webhooks.gitter.im/e/cac16e3f9e62a24bcd78
slack:
webhook_url: $$SLACK_WEBHOOK_URL
channel: armhf
plugin:
name: Gitter
desc: Send build status notifications via Gitter
type: notify
image: armhfplugins/drone-gitter
labels:
- chat
- messaging
- gitter