-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(deps): Bump golang, k8s and lib-csi versions (#444)
- go: 1.19.9 - k8s: v1.27.2 - klog: v2 - lib-csi: v0.7.0 Signed-off-by: shubham <[email protected]>
- Loading branch information
1 parent
ef61a51
commit c0343d0
Showing
3,102 changed files
with
798 additions
and
1,149,218 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ jobs: | |
reporter: github-pr-review | ||
path: '.' | ||
pattern: '*.sh' | ||
exclude: './.git/*,./vendor/*' | ||
exclude: './.git/*' | ||
|
||
|
||
unit-test: | ||
|
@@ -74,10 +74,10 @@ jobs: | |
truncate -s 100G /tmp/disk.img | ||
sudo zpool create zfspv-pool `sudo losetup -f /tmp/disk.img --show` | ||
- name: Set up Go 1.16 | ||
- name: Set up Go 1.19 | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16.5 | ||
go-version: 1.19.9 | ||
|
||
- name: Setup Minikube-Kubernetes | ||
uses: manusa/[email protected] | ||
|
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 |
---|---|---|
|
@@ -41,7 +41,6 @@ jobs: | |
reporter: github-pr-review | ||
path: '.' | ||
pattern: '*.sh' | ||
exclude: './vendor/*' | ||
|
||
|
||
unit-test: | ||
|
@@ -74,15 +73,15 @@ jobs: | |
truncate -s 100G /tmp/disk.img | ||
sudo zpool create zfspv-pool `sudo losetup -f /tmp/disk.img --show` | ||
- name: Set up Go 1.16 | ||
- name: Set up Go 1.19 | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16.5 | ||
go-version: 1.19.9 | ||
|
||
- name: Setup Minikube-Kubernetes | ||
uses: manusa/[email protected] | ||
with: | ||
minikube version: v1.30.1 | ||
minikube version: 'v1.26.1' | ||
kubernetes version: ${{ matrix.kubernetes }} | ||
github token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
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,9 +13,9 @@ | |
# limitations under the License. | ||
|
||
# list only csi source code directories | ||
PACKAGES = $(shell go list ./... | grep -v 'vendor\|pkg/generated') | ||
PACKAGES = $(shell go list ./... | grep -v 'pkg/generated') | ||
|
||
UNIT_TEST_PACKAGES = $(shell go list ./... | grep -v 'vendor\|pkg/generated\|tests') | ||
UNIT_TEST_PACKAGES = $(shell go list ./... | grep -v 'pkg/generated\|tests') | ||
|
||
# Lint our code. Reference: https://golang.org/cmd/vet/ | ||
VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods \ | ||
|
@@ -31,7 +31,6 @@ EXTERNAL_TOOLS=\ | |
github.com/onsi/ginkgo/ginkgo \ | ||
github.com/onsi/gomega/... | ||
|
||
|
||
# The images can be pushed to any docker/image registeries | ||
# like docker hub, quay. The registries are specified in | ||
# the `build/push` script. | ||
|
@@ -137,12 +136,12 @@ vendor: go.mod go.sum deps | |
bootstrap: controller-gen | ||
@for tool in $(EXTERNAL_TOOLS) ; do \ | ||
echo "+ Installing $$tool" ; \ | ||
cd && GO111MODULE=on go get $$tool; \ | ||
cd && GO111MODULE=on go install -mod=mod $$tool@latest; \ | ||
done | ||
|
||
.PHONY: controller-gen | ||
controller-gen: | ||
TMP_DIR=$(shell mktemp -d) && cd $$TMP_DIR && go mod init tmp && go get sigs.k8s.io/controller-tools/cmd/[email protected] && rm -rf $$TMP_DIR; | ||
TMP_DIR=$(shell mktemp -d) && cd $$TMP_DIR && go mod init tmp && go install -mod=mod sigs.k8s.io/controller-tools/cmd/[email protected] && rm -rf $$TMP_DIR; | ||
|
||
# SRC_PKG is the path of code files | ||
SRC_PKG := github.com/openebs/zfs-localpv/pkg | ||
|
@@ -161,7 +160,7 @@ kubegendelete: | |
|
||
.PHONY: deepcopy-install | ||
deepcopy-install: | ||
@go install -mod=vendor ./vendor/k8s.io/code-generator/cmd/deepcopy-gen | ||
@go install -mod=mod k8s.io/code-generator/cmd/deepcopy-gen | ||
|
||
.PHONY: deepcopy | ||
deepcopy: | ||
|
@@ -173,7 +172,7 @@ deepcopy: | |
|
||
.PHONY: clientset-install | ||
clientset-install: | ||
@go install -mod=vendor ./vendor/k8s.io/code-generator/cmd/client-gen | ||
@go install -mod=mod k8s.io/code-generator/cmd/client-gen | ||
|
||
.PHONY: clientset | ||
clientset: | ||
|
@@ -187,7 +186,7 @@ clientset: | |
|
||
.PHONY: lister-install | ||
lister-install: | ||
@go install -mod=vendor ./vendor/k8s.io/code-generator/cmd/lister-gen | ||
@go install -mod=mod k8s.io/code-generator/cmd/lister-gen | ||
|
||
.PHONY: lister | ||
lister: | ||
|
@@ -199,7 +198,7 @@ lister: | |
|
||
.PHONY: informer-install | ||
informer-install: | ||
@go install -mod=vendor ./vendor/k8s.io/code-generator/cmd/informer-gen | ||
@go install -mod=mod k8s.io/code-generator/cmd/informer-gen | ||
|
||
.PHONY: informer | ||
informer: | ||
|
@@ -263,7 +262,7 @@ golint: | |
.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
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
Oops, something went wrong.