mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-13 00:20:06 +01:00
54 lines
710 B
YAML
54 lines
710 B
YAML
|
|
---
|
||
|
|
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
|
||
|
|
|
||
|
|
...
|