36643b77b4
- upgrade from apiextension v1beta1 to v1 - generate yaml manifest for crd intead of applying it at runtime - users will have to apply the manifest with kubectl - kg and kgctl log an error if the crd is not present - now validation should actually work Signed-off-by: leonnicolas <leonloechner@gmx.de>
29 lines
468 B
YAML
29 lines
468 B
YAML
language: go
|
|
|
|
stages:
|
|
- test
|
|
- build
|
|
|
|
go:
|
|
- 1.12.x
|
|
- 1.13.x
|
|
- tip
|
|
|
|
env: GO111MODULE=on
|
|
|
|
before_install:
|
|
- go get -u github.com/kyoh86/richgo
|
|
- go get -u github.com/mitchellh/gox
|
|
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
include:
|
|
- stage: build
|
|
go: 1.13.x
|
|
script: make cobra_generator
|
|
|
|
script:
|
|
- make test
|