Skip to content

Commit 5af594b

Browse files
marunsoltysh
authored andcommitted
UPSTREAM: <carry>: Stop ignoring generated openapi definitions
openshift/origin needs to be able to vendor these definitions so they need to be committed. openshift-rebase(v1.24):source=1ca04429c95
1 parent e1e2042 commit 5af594b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

hack/make-rules/clean.sh

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ CLEAN_PATTERNS=(
2626
"doc_tmp"
2727
"((?!staging\/src\/k8s\.io\/apiextensions-apiserver\/pkg\/generated\/openapi).)*/zz_generated.openapi.go"
2828
"test/e2e/generated/bindata.go"
29+
# TODO(bentheelder): remove this pattern after bazel is not in any supported releases
30+
# see: https://github.com/kubernetes/enhancements/issues/2420
31+
"bazel-.*"
2932
)
3033

3134
for pattern in "${CLEAN_PATTERNS[@]}"; do

pkg/generated/openapi/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ensure that openapi definitions are not ignored to ensure that
2+
# openshift/origin can vendor them.
3+
!zz_generated.openapi.go

0 commit comments

Comments
 (0)