vmware-archive / operator-builder

A Kubebuilder plugin to accelerate the development of Kubernetes operators
MIT License
41 stars 6 forks source link

feat: add make targets for companion-cli testing #239

Closed scottd018 closed 2 years ago

scottd018 commented 2 years ago

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:

  1. Use the func-test-cli prefix to the target for all subcommands (init, generate, version)
  2. Require the build-cli targets to compile the CLI
  3. 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

scottd018 commented 2 years ago

This is no longer relevant. Closing