Development
- git
- v1.15+
Build the Operator SDK CLI binary:
Testing
See the and documentation guides for more information.
Continuous Integration (CI)
The operator-sdk repo uses Travis CI to test each pull request and build images for both master commits and releases. You can alter these processes by modifying this config file.
Follow these steps to execute the Travis Deploy
stage against your branch to demonstrate that the merge build will complete as expected.
- Enable Travis in your fork repository. See this guide for more information.
- Set each image variable (that ends in
_IMAGE
, not ) found in the Makefile as an environment variable in.travis.yml
, ex. - Create a PR with your configuration changes to your fork, with the first commit message containing
[travis deploy]
.- This commit is only for testing on your fork’s PR. This commit/message should not be present in an operator-sdk repo PR.
- Ensure the image builds for that PR pass.
- Create a PR to the operator-sdk repo with a description containing a link to the Travis build page showing a successful deployment stage with your changes.
Generating the docs
To generate the CLI docs run: