Merge pull request #99674 from nikhita/publishing-bot-go-build

staging/publishing: add -mod=mod for smoke tests for go1.16
This commit is contained in:
Kubernetes Prow Robot 2021-03-02 21:45:19 -08:00 committed by GitHub
commit 5b0d0451ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,8 +154,8 @@ rules:
branch: release-1.20
smoke-test: |
# assumes GO111MODULE=on
go build ./...
go test ./...
go build -mod=mod ./...
go test -mod=mod ./...
- destination: component-base
library: true
@ -510,7 +510,7 @@ rules:
- k8s.io/code-generator
smoke-test: |
# assumes GO111MODULE=on
go build .
go build -mod=mod .
- destination: sample-controller
branches:
@ -594,7 +594,7 @@ rules:
- k8s.io/code-generator
smoke-test: |
# assumes GO111MODULE=on
go build .
go build -mod=mod .
- destination: apiextensions-apiserver
branches: