mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
32 lines
561 B
YAML
32 lines
561 B
YAML
---
|
|
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
|