Skip to content

Commit

Permalink
UPSTREAM: <carry>: Stop ignoring test/e2e/generated/bindata.go
Browse files Browse the repository at this point in the history
This needs to be maintained can committed in our fork so that it can
be vendored by origin.

UPSTREAM: <carry>: (squash) Stop ignoring generated openapi definitions

openshift/origin needs to be able to vendor these definitions so they
need to be committed.

Should be squashed with UPSTREAM: <carry>: Stop ignoring test/e2e/generated/bindata.go
  • Loading branch information
marun authored and soltysh committed Sep 8, 2021
1 parent c38487b commit 02f6407
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion hack/make-rules/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ CLEAN_PATTERNS=(
"_tmp"
"doc_tmp"
"((?!staging\/src\/k8s\.io\/apiextensions-apiserver\/pkg\/generated\/openapi).)*/zz_generated.openapi.go"
"test/e2e/generated/bindata.go"
)

for pattern in "${CLEAN_PATTERNS[@]}"; do
Expand Down
3 changes: 3 additions & 0 deletions pkg/generated/openapi/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ensure that openapi definitions are not ignored to ensure that
# openshift/origin can vendor them.
!zz_generated.openapi.go
2 changes: 2 additions & 0 deletions test/e2e/generated/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ensure that bindata is not ignored to ensure openshift/origin can vendor it.
!bindata.go

0 comments on commit 02f6407

Please sign in to comment.