mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-11 23:50:05 +01:00
Use Drone as the CI with a working pipeline (#28)
This commit is contained in:
parent
ccabc9707c
commit
18923f2dfc
29 changed files with 2677 additions and 5 deletions
53
.drone.yml
Normal file
53
.drone.yml
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: build
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: gomod
|
||||
pull: always
|
||||
image: golang:1.12
|
||||
commands:
|
||||
- go mod vendor
|
||||
- git diff --exit-code
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
GO111MODULE: on
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
- name: build
|
||||
pull: always
|
||||
image: golang:1.12
|
||||
commands:
|
||||
- make build
|
||||
- make test
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
GO111MODULE: on
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
- name: generate
|
||||
pull: always
|
||||
image: golang:1.12
|
||||
commands:
|
||||
- make check-license
|
||||
- make generate
|
||||
- git diff --exit-code
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
GO111MODULE: on
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
...
|
||||
Loading…
Add table
Add a link
Reference in a new issue