-
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 go modules and k8s libs
- go bump to v1.19 - k8s libs bump to v0.27.2 - openebs/api/v3 to v3.0.2 - remove vendor directory Signed-off-by: Niladri Halder <[email protected]>
- Loading branch information
Showing
3,371 changed files
with
1,796 additions
and
1,200,345 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 |
---|---|---|
@@ -1 +1,3 @@ | ||
/bin | ||
# IDEs | ||
**/.idea |
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,10 +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@latest \ | ||
github.com/axw/gocov/gocov@latest \ | ||
github.com/matm/gocov-html/cmd/gocov-html@latest \ | ||
github.com/onsi/ginkgo/[email protected] | ||
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 | ||
|
@@ -127,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 | ||
|
@@ -153,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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,5 +28,5 @@ go build -o $TEMPDIR/maya || exit 1 | |
echo "--> Running tests" | ||
GOBIN="$(which go)" | ||
PATH=$TEMPDIR:$PATH \ | ||
$GOBIN test ${GOTEST_FLAGS:--cover -timeout=900s} $($GOBIN list ./... | grep -v 'vendor\|pkg/apis\|pkg/generated\|tests') | ||
$GOBIN test ${GOTEST_FLAGS:--cover -timeout=900s} $($GOBIN list ./... | grep -v 'pkg/apis\|pkg/generated\|tests') | ||
Check warning on line 31 in buildscripts/test.sh GitHub Actions / lint
Check warning on line 31 in buildscripts/test.sh GitHub Actions / lint
|
||
|
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 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} | ||
) | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,61 +1,96 @@ | ||
module github.com/openebs/cstor-csi | ||
|
||
go 1.16 | ||
go 1.19 | ||
|
||
require ( | ||
github.com/container-storage-interface/spec v1.4.0 | ||
github.com/docker/go-units v0.4.0 | ||
github.com/golang/protobuf v1.4.3 | ||
github.com/google/uuid v1.1.2 | ||
github.com/hashicorp/golang-lru v0.5.3 // indirect | ||
github.com/imdario/mergo v0.3.8 // indirect | ||
github.com/container-storage-interface/spec v1.8.0 | ||
github.com/docker/go-units v0.5.0 | ||
github.com/google/uuid v1.3.1 | ||
github.com/jpillora/go-ogle-analytics v0.0.0-20161213085824-14b04e0594ef | ||
github.com/kubernetes-csi/csi-lib-iscsi v0.0.0-20200118015005-959f12c91ca8 | ||
github.com/kubernetes-csi/csi-lib-utils v0.7.0 | ||
github.com/onsi/ginkgo v1.11.0 | ||
github.com/onsi/gomega v1.7.1 | ||
github.com/openebs/api/v3 v3.0.0-20211116062351-ecd9a8a61d3e | ||
github.com/kubernetes-csi/csi-lib-utils v0.14.0 | ||
github.com/onsi/ginkgo v1.16.4 | ||
github.com/onsi/gomega v1.27.7 | ||
github.com/openebs/api/v3 v3.0.2 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/sirupsen/logrus v1.6.0 | ||
github.com/spf13/cobra v1.1.1 | ||
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b | ||
golang.org/x/sys v0.0.0-20201112073958-5cba982894dd | ||
golang.org/x/tools v0.0.0-20200828013309-97019fc2e64b // indirect | ||
google.golang.org/grpc v1.27.1 | ||
k8s.io/api v0.20.2 | ||
k8s.io/apimachinery v0.20.2 | ||
k8s.io/client-go v0.20.2 | ||
k8s.io/code-generator v0.20.2 | ||
k8s.io/kubernetes v1.20.2 | ||
k8s.io/utils v0.0.0-20201110183641-67b214c5f920 | ||
github.com/sirupsen/logrus v1.9.0 | ||
github.com/spf13/cobra v1.7.0 | ||
golang.org/x/net v0.18.0 | ||
golang.org/x/sys v0.14.0 | ||
google.golang.org/grpc v1.59.0 | ||
google.golang.org/protobuf v1.31.0 | ||
k8s.io/api v0.27.2 | ||
k8s.io/apimachinery v0.27.2 | ||
k8s.io/client-go v0.27.2 | ||
k8s.io/code-generator v0.27.2 | ||
k8s.io/kubernetes v0.0.0-00010101000000-000000000000 | ||
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 | ||
) | ||
|
||
require ( | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/blang/semver/v4 v4.0.0 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/emicklei/go-restful/v3 v3.11.0 // indirect | ||
github.com/fsnotify/fsnotify v1.6.0 // indirect | ||
github.com/go-logr/logr v1.3.0 // indirect | ||
github.com/go-openapi/jsonpointer v0.20.0 // indirect | ||
github.com/go-openapi/jsonreference v0.20.2 // indirect | ||
github.com/go-openapi/swag v0.22.4 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/gnostic v0.7.0 // indirect | ||
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect | ||
github.com/google/go-cmp v0.6.0 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/imdario/mergo v0.3.8 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect | ||
github.com/moby/sys/mountinfo v0.6.2 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/nxadm/tail v1.4.8 // indirect | ||
github.com/opencontainers/selinux v1.10.0 // indirect | ||
github.com/prometheus/client_golang v1.16.0 // indirect | ||
github.com/prometheus/client_model v0.4.0 // indirect | ||
github.com/prometheus/common v0.44.0 // indirect | ||
github.com/prometheus/procfs v0.10.1 // indirect | ||
github.com/ryanuber/columnize v2.1.0+incompatible // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
golang.org/x/mod v0.14.0 // indirect | ||
golang.org/x/oauth2 v0.11.0 // indirect | ||
golang.org/x/term v0.14.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
golang.org/x/time v0.3.0 // indirect | ||
golang.org/x/tools v0.15.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
k8s.io/apiserver v0.27.2 // indirect | ||
k8s.io/cloud-provider v0.27.2 // indirect | ||
k8s.io/component-base v0.27.2 // indirect | ||
k8s.io/component-helpers v0.27.2 // indirect | ||
k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 // indirect | ||
k8s.io/klog/v2 v2.110.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20231113174909-778a5567bc1e // indirect | ||
k8s.io/mount-utils v0.0.0 // indirect | ||
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect | ||
sigs.k8s.io/yaml v1.4.0 // indirect | ||
) | ||
|
||
replace ( | ||
k8s.io/api => k8s.io/api v0.20.2 | ||
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.20.2 | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.20.2 | ||
k8s.io/apiserver => k8s.io/apiserver v0.20.0 | ||
k8s.io/cli-runtime => k8s.io/cli-runtime v0.20.2 | ||
k8s.io/client-go => k8s.io/client-go v0.20.2 | ||
k8s.io/cloud-provider => k8s.io/cloud-provider v0.20.2 | ||
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.20.2 | ||
k8s.io/code-generator => k8s.io/code-generator v0.20.2 | ||
k8s.io/component-base => k8s.io/component-base v0.20.2 | ||
k8s.io/component-helpers => k8s.io/component-helpers v0.20.0 | ||
k8s.io/controller-manager => k8s.io/controller-manager v0.20.0 | ||
k8s.io/cri-api => k8s.io/cri-api v0.20.2 | ||
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.20.2 | ||
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.20.2 | ||
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.20.2 | ||
k8s.io/kube-proxy => k8s.io/kube-proxy v0.20.2 | ||
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.20.2 | ||
k8s.io/kubectl => k8s.io/kubectl v0.20.2 | ||
k8s.io/kubelet => k8s.io/kubelet v0.20.2 | ||
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.20.2 | ||
k8s.io/metrics => k8s.io/metrics v0.20.2 | ||
k8s.io/mount-utils => k8s.io/mount-utils v0.20.0 | ||
k8s.io/node-api => k8s.io/node-api v0.20.2 | ||
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.20.2 | ||
k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.20.2 | ||
k8s.io/sample-controller => k8s.io/sample-controller v0.20.2 | ||
github.com/container-storage-interface/spec => github.com/container-storage-interface/spec v1.4.0 | ||
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.27.2 | ||
k8s.io/kubernetes => k8s.io/kubernetes v1.27.2 | ||
k8s.io/mount-utils => k8s.io/mount-utils v0.27.2 | ||
) |
Oops, something went wrong.