Update publishing bot smoke tests for go modules

k3s-v1.15.3
Jordan Liggitt 2019-04-03 10:18:03 -04:00
parent 321095dccb
commit b3527f41f0
1 changed files with 4 additions and 15 deletions

View File

@ -41,9 +41,9 @@ rules:
- repository: api
branch: master
smoke-test: |
godep restore
# assumes GO111MODULE=on
go build ./...
go test $(go list ./... | grep -v /vendor/)
go test ./...
- destination: component-base
library: true
branches:
@ -111,12 +111,7 @@ rules:
required-packages:
- k8s.io/code-generator
smoke-test: |
# vendor/ should have all dependencies as a non-library
go build .
# re-create vendor/ and try again
godep restore
rm -rf vendor/ Godeps/
godep save ./...
# assumes GO111MODULE=on
go build .
- destination: sample-controller
branches:
@ -138,13 +133,7 @@ rules:
required-packages:
- k8s.io/code-generator
smoke-test: |
# vendor/ should have all dependencies as a non-library
go build .
# re-create vendor/ and try again
godep restore
rm -rf vendor/ Godeps/
godep save ./...
# assumes GO111MODULE=on
go build .
- destination: apiextensions-apiserver
branches: