Skip to content

Commit

Permalink
Fix make verify failure after kubernetes-sigs#802 (kubernetes-sigs#803
Browse files Browse the repository at this point in the history
)

Signed-off-by: Vince Prignano <[email protected]>
  • Loading branch information
vincepri authored and k8s-ci-robot committed Mar 5, 2019
1 parent c51a9c1 commit c66fb34
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ lint-full: dep-ensure ## Run slower linters to detect possible issues
.PHONY: generate
generate: clientset dep-ensure ## Generate code
go generate ./pkg/... ./cmd/...
$(MAKE) gazelle

.PHONY: clientset
clientset: ## Generate a typed clientset
Expand All @@ -100,7 +101,6 @@ clientset: ## Generate a typed clientset
--listers-package sigs.k8s.io/cluster-api/pkg/client/listers_generated \
--output-package sigs.k8s.io/cluster-api/pkg/client/informers_generated \
--go-header-file=./hack/boilerplate.go.txt
$(MAKE) gazelle

.PHONY: clean
clean: ## Remove all generated files
Expand Down
1 change: 0 additions & 1 deletion hack/verify-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
set -o errexit
set -o nounset
set -o pipefail
set -o verbose

if ! which bazel &>/dev/null; then echo "Bazel not available, skipping validation"; exit; fi

Expand Down
1 change: 1 addition & 0 deletions hack/verify_clientset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ mkdir -p "${TMP_DIFFROOT}"
cp -a "${DIFFROOT}"/* "${TMP_DIFFROOT}"

make clientset
find "${TMP_DIFFROOT}" -name *.bazel -delete

echo "diffing ${DIFFROOT} against freshly generated codegen"
ret=0
Expand Down

0 comments on commit c66fb34

Please sign in to comment.