Added local Drone CI config
This commit is contained in:
부모
ca70888049
커밋
bc5d706d94
|
@ -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
|
불러오는 중...
Reference in New Issue