-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump up go version, add ua to ga
Signed-off-by: Abhinandan Purkait <[email protected]>
- Loading branch information
1 parent
ed71215
commit cb98cda
Showing
3,382 changed files
with
356 additions
and
1,200,426 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
# limitations under the License. | ||
# list only csi source code directories | ||
# | ||
PACKAGES = $(shell go list ./... | grep -v 'vendor\|pkg/client\|tests') | ||
PACKAGES = $(shell go list ./... | grep -v 'pkg/client\|tests') | ||
|
||
# Lint our code. Reference: https://golang.org/cmd/vet/ | ||
VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods \ | ||
|
@@ -22,11 +22,10 @@ VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods \ | |
# Tools required for different make | ||
# targets or for development purposes | ||
EXTERNAL_TOOLS=\ | ||
golang.org/x/tools/cmd/cover \ | ||
github.com/axw/gocov/gocov \ | ||
gopkg.in/matm/v1/gocov-html \ | ||
github.com/onsi/ginkgo/ginkgo \ | ||
github.com/onsi/gomega/... | ||
golang.org/x/tools/cmd/cover@latest \ | ||
github.com/axw/gocov/gocov@latest \ | ||
github.com/matm/gocov-html/cmd/gocov-html@latest \ | ||
github.com/onsi/ginkgo/[email protected] | ||
|
||
# The images can be pushed to any docker/image registeries | ||
# like docker hub, quay. The registries are specified in | ||
|
@@ -128,7 +127,7 @@ test: format | |
bootstrap: | ||
@for tool in $(EXTERNAL_TOOLS) ; do \ | ||
echo "+ Installing $$tool" ; \ | ||
cd && GO111MODULE=on go get $$tool; \ | ||
go install $$tool; \ | ||
done | ||
|
||
.PHONY: csi-driver | ||
|
@@ -154,7 +153,7 @@ deploy-images: | |
.PHONY: license-check | ||
license-check: | ||
@echo "--> Checking license header..." | ||
@licRes=$$(for file in $$(find . -type f -regex '.*\.sh\|.*\.go\|.*Docker.*\|.*\Makefile*' ! -path './vendor/*' ) ; do \ | ||
@licRes=$$(for file in $$(find . -type f -regex '.*\.sh\|.*\.go\|.*Docker.*\|.*\Makefile*' ) ; do \ | ||
awk 'NR<=5' $$file | grep -Eq "(Copyright|generated|GENERATED)" || echo $$file; \ | ||
done); \ | ||
if [ -n "$${licRes}" ]; then \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,8 @@ set -o pipefail | |
# To support running this script from anywhere, we have to first cd into this directory | ||
# so we can install the tools. | ||
#cd $(dirname "${0}") | ||
cd vendor/k8s.io/code-generator/ | ||
go get -d k8s.io/[email protected] | ||
cd "$(go env GOPATH)/pkg/mod/k8s.io/[email protected]" | ||
go install ./cmd/{defaulter-gen,client-gen,lister-gen,informer-gen,deepcopy-gen,conversion-gen,defaulter-gen} | ||
) | ||
|
||
|
Oops, something went wrong.