Added local Drone CI config

This commit is contained in:
James Mills 2018-05-19 22:17:13 -07:00
부모 ca70888049
커밋 bc5d706d94
No known key found for this signature in database
GPG 키 ID: AC4C014F1440EBD6

38
.drone.yml Normal file
파일 보기

@ -0,0 +1,38 @@
workspace:
base: /go
path: src/github.com/prologic/msgbus
pipeline:
build:
image: golang:latest
commands:
- make test
docker:
image: plugins/docker
repo: r.mills.io/prologic/msgbus
registry: r.mills.io
secrets: [ docker_username, docker_password ]
notify:
image: drillster/drone-email
host: mail.mills.io
from: drone@mills.io
skip_verify: true
secrets: [ email_username, email_password ]
when:
status: [ success, changed, failure ]
webhook:
image: plugins/webhook
urls: https://msgbus.mills.io/ci.mills.io
secrets:
email_username:
external: true
email_password:
external: true
registry_username:
external: true
registry_password:
external: true