You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's quite difficult to develop on this repo since it's basically not possible to have code in a state where it builds locally and CI equally. This is because of version and kustomize manifests which reflects the git state - a local build requires a different value committed to be able to run, but this then causes the CI to not run and needs to be reverted. Most problematic is that make bundle does generate some files that do need to be committed for the CI to run, namely the ones reflecting the CRD. So I find myself make bundle and finding the files to revert before pushing code.
Is it possible to just run autogeneration as part of a build without having to check them into the repo?
The text was updated successfully, but these errors were encountered:
I agree with you that it's annoying how it is setup right now. At the same time I like that generated valid CRD is committed to the main branch, but perhaps this can be done only for the release commit.
Any approach that solves the dance would be fine, if it can support the merged autogen code. I think currently, it's in a really bad place when local code and CI code can't build with the same repo state, or may require some opaque flags.
It's quite difficult to develop on this repo since it's basically not possible to have code in a state where it builds locally and CI equally. This is because of version and kustomize manifests which reflects the git state - a local build requires a different value committed to be able to run, but this then causes the CI to not run and needs to be reverted. Most problematic is that
make bundle
does generate some files that do need to be committed for the CI to run, namely the ones reflecting the CRD. So I find myselfmake bundle
and finding the files to revert before pushing code.Is it possible to just run autogeneration as part of a build without having to check them into the repo?
The text was updated successfully, but these errors were encountered: