-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch introduces following changes: * explicitly set go version to v1.17 in GitHub actions * updates go.mod file and vendored packages * updates go version in Dockerfiles * uses 'go install' instead of 'go get' [1] [1] https://go.dev/doc/go-get-install-deprecation
- Loading branch information
Showing
103 changed files
with
248 additions
and
2,443 deletions.
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
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 |
---|---|---|
|
@@ -152,7 +152,8 @@ KUSTOMIZE = $(shell pwd)/bin/kustomize | |
kustomize: ## Download kustomize locally if necessary. | ||
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected]) | ||
|
||
# go-get-tool will 'go get' any package $2 and install it to $1. | ||
# go-get-tool will 'go install' any package $2 and install it to $1. | ||
# NOTE: Need to set OFLAGS until https://github.com/golang/go/issues/45811 will be fixed | ||
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST)))) | ||
define go-get-tool | ||
@[ -f $(1) ] || { \ | ||
|
@@ -161,7 +162,7 @@ TMP_DIR=$$(mktemp -d) ;\ | |
cd $$TMP_DIR ;\ | ||
go mod init tmp ;\ | ||
echo "Downloading $(2)" ;\ | ||
GOBIN=$(PROJECT_DIR)/bin go get $(2) ;\ | ||
GOFLAGS='' GOBIN=$(PROJECT_DIR)/bin go install $(2) ;\ | ||
rm -rf $$TMP_DIR ;\ | ||
} | ||
endef | ||
|
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
12 changes: 0 additions & 12 deletions
12
vendor/github.com/Azure/go-autorest/autorest/adal/go.mod
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
vendor/github.com/Azure/go-autorest/autorest/adal/go.sum
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
vendor/github.com/Azure/go-autorest/autorest/date/go.mod
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
vendor/github.com/Azure/go-autorest/autorest/date/go.sum
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
vendor/github.com/Azure/go-autorest/autorest/go.mod
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
vendor/github.com/Azure/go-autorest/autorest/go.sum
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.