Skip to content

Commit

Permalink
added GO111MODULE=off again
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWeindel committed Jan 16, 2024
1 parent 833419b commit 5d36d25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ source "$GARDENER_HACK_DIR"/vgopath-setup.sh

CODE_GEN_DIR=$(go list -m -f '{{.Dir}}' k8s.io/code-generator)

# We need to explicitly pass GO111MODULE=off to k8s.io/code-generator as it is significantly slower otherwise,
# see https://github.com/kubernetes/code-generator/issues/100.
export GO111MODULE=off

rm -f $GOPATH/bin/*-gen

bash "${CODE_GEN_DIR}"/generate-internal-groups.sh \
Expand Down

0 comments on commit 5d36d25

Please sign in to comment.