Welcome to the Kepler Operator community and thank you for contributing to Kepler Operator! May this guide help you with your 1st contribution.
There are multiple ways to contribute, including new feature requests and implementations, bug reports and fixes, PR reviews, doc updates, refactoring, unit and integration tests, web design, etc.
- Before opening a new issue or PR, search for any existing issues here to avoid duplication.
- For any code contribution, please read the documents below carefully:
If you are good with our License and DCO, follow these steps to start with your 1st code contribution:
- Fork & clone Kepler Operator
- We use as a test framework. Please add units tests that cover your code changes.
- For any new feature design, or feature level changes, please create an issue 1st, then submit a PR.
Here is a checklist for when you are ready to open a Pull Request:
- Add unit tests that cover your changes
- Ensure that all unit tests are successful
- Run the integration tests locally
- Sign your commits
- Format your commit messages
Once a PR is open, Kepler Operator reviewers will review the PR. Thank you for contributing to Kepler Operator!
TO-DO
The Kepler-Operator CI tests perform the following checks:
We run Go tests based on specific build tags for different conditions. Please don't break other build tags, otherwise CI may fail.
To run the unit tests:
make test
Integration tests should be based on the mininal scope of a unit test needed to succeed.
The GitHub Actions workflow for integration tests and in-depth steps can be found here.
Please sign and commit your changes with git commit -s
. More information on how to sign commits can be found here.
Please refer to the Kubernetes commit message guidelines that can be found here.
We have 3 rules as commit messages check to ensure a commit message is meaningful:
- Try to keep the subject line to 50 characters or less; do not exceed 72 characters
- Providing additional context with the following formatting:
<topic>: <something>
- The first word in the commit message subject should be capitalized unless it starts with a lowercase symbol or other identifier
For example:
Doc: update Developer.md