Merge pull request #45052 from ixdy/update-gazel
Automatic merge from submit-queue (batch tested with PRs 45052, 44983, 41254) Update gazel to v17 **What this PR does / why we need it**: gazel v17 has a bugfix for creating the `vendor/BUILD` file from scratch. there should be no other changes. **Release note**: ```release-note NONE ``` /assign @mikedanese @spxtr
This commit is contained in:
		@@ -24,7 +24,7 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
 | 
				
			|||||||
# TODO(spxtr): Remove this line once Bazel is the only way to build.
 | 
					# TODO(spxtr): Remove this line once Bazel is the only way to build.
 | 
				
			||||||
rm -f "${KUBE_ROOT}/pkg/generated/openapi/zz_generated.openapi.go"
 | 
					rm -f "${KUBE_ROOT}/pkg/generated/openapi/zz_generated.openapi.go"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
go get -u gopkg.in/mikedanese/gazel.v16/gazel
 | 
					go get -u gopkg.in/mikedanese/gazel.v17/gazel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for path in ${GOPATH//:/ }; do
 | 
					for path in ${GOPATH//:/ }; do
 | 
				
			||||||
  if [[ -e "${path}/bin/gazel" ]]; then
 | 
					  if [[ -e "${path}/bin/gazel" ]]; then
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,7 +20,7 @@ set -o pipefail
 | 
				
			|||||||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
 | 
					export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
 | 
				
			||||||
source "${KUBE_ROOT}/hack/lib/init.sh"
 | 
					source "${KUBE_ROOT}/hack/lib/init.sh"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
go get gopkg.in/mikedanese/gazel.v16/gazel
 | 
					go get gopkg.in/mikedanese/gazel.v17/gazel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Remove generated files prior to running gazel.
 | 
					# Remove generated files prior to running gazel.
 | 
				
			||||||
# TODO(spxtr): Remove this line once Bazel is the only way to build.
 | 
					# TODO(spxtr): Remove this line once Bazel is the only way to build.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user