2016-05-13 07:00:42 +00:00
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
path: src/github.com/drone-plugins/drone-webhook
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: golang:1.6
|
|
|
|
environment:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
commands:
|
|
|
|
- make deps
|
|
|
|
- make vet
|
|
|
|
- make build
|
|
|
|
- make test
|
2015-11-03 19:31:25 +00:00
|
|
|
|
|
|
|
docker:
|
|
|
|
repo: plugins/drone-webhook
|
2016-05-13 07:00:42 +00:00
|
|
|
storage_driver: overlay
|
2016-01-18 21:33:14 +00:00
|
|
|
tag: latest
|
2015-11-03 19:31:25 +00:00
|
|
|
when:
|
|
|
|
branch: master
|
2016-05-13 07:00:42 +00:00
|
|
|
event: push
|
2015-11-03 19:31:25 +00:00
|
|
|
|
|
|
|
plugin:
|
|
|
|
name: Webhook
|
2015-12-09 09:02:52 +00:00
|
|
|
desc: Send build status notifications via Webhook
|
2015-11-03 19:31:25 +00:00
|
|
|
type: notify
|
|
|
|
image: plugins/drone-webhook
|
|
|
|
labels:
|
2015-12-09 09:02:52 +00:00
|
|
|
- notify
|
|
|
|
- webhook
|
2015-11-03 19:31:25 +00:00
|
|
|
- rest
|
|
|
|
- json
|
|
|
|
- hook
|