Skip to content

Commit

Permalink
fix: rollback codegen script (numaproj#2079)
Browse files Browse the repository at this point in the history
  • Loading branch information
whynowy authored Sep 23, 2024
1 parent 40e960a commit b4f9278
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ cd "${FAKE_REPOPATH}"

CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${FAKE_REPOPATH}"; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)}

chmod +x ${CODEGEN_PKG}/*.sh

subheader "running codegen"
bash -x ${CODEGEN_PKG}/kube_codegen.sh "deepcopy" \
bash -x ${CODEGEN_PKG}/generate-groups.sh "deepcopy" \
github.com/numaproj/numaflow/pkg/client github.com/numaproj/numaflow/pkg/apis \
"numaflow:v1alpha1" \
--go-header-file hack/boilerplate/boilerplate.go.txt

bash -x ${CODEGEN_PKG}/kube_codegen.sh "client,informer,lister" \
bash -x ${CODEGEN_PKG}/generate-groups.sh "client,informer,lister" \
github.com/numaproj/numaflow/pkg/client github.com/numaproj/numaflow/pkg/apis \
"numaflow:v1alpha1" \
--plural-exceptions="Vertex:Vertices,MonoVertex:MonoVertices" \
Expand Down
62 changes: 62 additions & 0 deletions pkg/apis/numaflow/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b4f9278

Please sign in to comment.