mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
Add Drone CI config
This commit is contained in:
parent
f357607cee
commit
d276c398da
31
.drone.yml
Normal file
31
.drone.yml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build & run tests
|
||||||
|
image: r.mills.io/prologic/golang-alpine
|
||||||
|
volumes:
|
||||||
|
- name: gomodcache
|
||||||
|
path: /go/pkg/mod/cache
|
||||||
|
privileged: true
|
||||||
|
environment:
|
||||||
|
GOPROXY: https://goproxy.mills.io
|
||||||
|
commands:
|
||||||
|
- make build
|
||||||
|
- make test
|
||||||
|
|
||||||
|
- name: notify
|
||||||
|
image: plugins/webhook
|
||||||
|
settings:
|
||||||
|
urls:
|
||||||
|
- https://msgbus.mills.io/ci.mills.io
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: gomodcache
|
||||||
|
host:
|
||||||
|
path: /var/lib/cache/go
|
Loading…
x
Reference in New Issue
Block a user