mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-01-21 17:32:50 +08:00
4a1ec65955
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update vendor spf13/cobra to enforce required flags **What this PR does / why we need it**: spf13/cobra#502 has enforced checking flags that marked as required, an error will be raised if unset. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*:fixes #54855 xref #48400 fixes kubernetes/kubectl#121 **Special notes for your reviewer**: /assign @liggitt @eparis **Release note**: ```release-note kubectl now enforces required flags at a more fundamental level ``` Kubernetes-commit: 048757b8a51333f59d3112d2b228d2f0102a4afc
22 lines
254 B
YAML
22 lines
254 B
YAML
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- 1.7.3
|
|
- 1.8.1
|
|
- tip
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
|
|
install:
|
|
- go get github.com/golang/lint/golint
|
|
- export PATH=$GOPATH/bin:$PATH
|
|
- go install ./...
|
|
|
|
script:
|
|
- verify/all.sh -v
|
|
- go test ./...
|