Via PR https://github.com/vmware-tanzu-labs/operator-builder/pull/237 we discovered that it sometimes can get a bit confusing when testing the companion CLI (specifically for multiple api versions) to need to repoint the operator-builder create api command to the newest compiled binary. It would be nice to add a make target to do the following:
Use the func-test-cli prefix to the target for all subcommands (init, generate, version)
Require the build-cli targets to compile the CLI
Run test against the newly build CLI
There may be more to this but feel free to ask questions and we can add as we unpack this
Via PR https://github.com/vmware-tanzu-labs/operator-builder/pull/237 we discovered that it sometimes can get a bit confusing when testing the companion CLI (specifically for multiple api versions) to need to repoint the
operator-builder create api
command to the newest compiled binary. It would be nice to add a make target to do the following:func-test-cli
prefix to the target for all subcommands (init
,generate
,version
)build-cli
targets to compile the CLIThere may be more to this but feel free to ask questions and we can add as we unpack this