Skip to content

Commit 7f046c8

Browse files
committed
No need to generate client set all the time
- it's slow
1 parent f8dd7ae commit 7f046c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ install-tools:
1515
# This one just needs to be fetched and not installed, get & mod so it ends up in the right place.
1616
# Note we grep it out above, and just do a go get & go mod for it.
1717
go get -d k8s.io/code-generator
18-
go mod vendor
1918

2019
unit-tests: install-tools generate fmt vet manifests ## Run unit tests
2120
ginkgo -r --randomizeAllSpecs api/ internal/
@@ -85,6 +84,8 @@ vet:
8584
# Generate code & docs
8685
generate: install-tools api-reference
8786
controller-gen object:headerFile="hack/NOTICE.go.txt" paths="./..."
87+
88+
generate-client-set:
8889
./hack/update-codegen.sh
8990

9091
check-env-docker-credentials: check-env-registry-server

pull_request_template.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
This closes #
22

33
**Note to reviewers:** remember to look at the commits in this PR and consider if they can be squashed
4+
**Note to contributors:** remember to re-generate client set if there are any API changes
45

56
## Summary Of Changes
67

0 commit comments

Comments
 (0)