Skip to content

Commit f4af5ba

Browse files
committed
UPSTREAM: <carry>: Add OpenShift tooling, images, configs and docs
1 parent 89e9714 commit f4af5ba

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

staging/src/k8s.io/code-generator/examples/hack/verify-codegen.sh

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ else
4343
exit 1
4444
fi
4545

46+
GOFLAGS=-mod=readonly
47+
4648
# smoke test
4749
echo "Smoke testing examples by compiling..."
4850
pushd "${SCRIPT_ROOT}"

staging/src/k8s.io/code-generator/kube_codegen.sh

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ set -o pipefail
2727

2828
KUBE_CODEGEN_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
2929

30+
GOFLAGS=-mod=readonly
31+
3032
function kube::codegen::internal::findz() {
3133
# We use `find` rather than `git ls-files` because sometimes external
3234
# projects use this across repos. This is an imperfect wrapper of find,

0 commit comments

Comments
 (0)