Welcome! We are delighted that you want to contribute to Iter8! 💖
As you get started, you are in the best position to give us feedback on key areas including:
- Problems found during setup of Iter8
- Gaps in our getting started tutorial and other documentation
- Bugs in our test and automation scripts
If anything doesn't make sense, or doesn't work when you run it, please open a bug report and let us know!
Ways to contribute¶
We welcome many types of contributions including:
Ask for help¶
The best ways to reach us with a question is to ask...
- On the original GitHub issue
- In the
#developmentchannel in the Iter8 Slack workspace
Find or file an issue¶
Iter8 issues are tracked here.
Pull request lifecycle¶
- Your PR is associated with one (and infrequently, with more than one) GitHub issue. You can start the submission of your PR as soon as this issue has been created.
- Follow the standard GitHub fork and pull request process when creating and submitting your PR.
- The associated GitHub issue might need to go through design discussions and may not be ready for development. Your PR might require new tests; these new or existing tests may not yet be running successfully. At this stage, keep your PR as a draft, to signal that it is not yet ready for review.
- Once design discussions are complete and tests pass, convert the draft PR into a regular PR to signal that it is ready for review. Additionally, post a message in the
#developmentSlack channel of the Iter8 Slack workspace with a link to your PR. This will expedite the review.
- You can expect an initial review within 1-2 days of submitting a PR, and follow up reviews (if any) to happen over 2-5 days.
- Use the
#developmentSlack channel of Iter8 Slack workspace to ping/bump when the pull request is ready for further review or if it appears stalled.
- Iter8 releases happen frequently. Once your PR is merged, you can expect your contribution to show up live in a short amount of time at https://iter8.tools.
Sign your commits¶
Licensing is important to open source projects. It provides some assurances that the software will continue to be available based under the terms that the author(s) desired. We require that contributors sign off on commits submitted to our project's repositories. The Developer Certificate of Origin (DCO) is a way to certify that you wrote and have the right to contribute the code you are submitting to the project.
You sign-off by adding the following to your commit messages. Your sign-off must match the Git user and email associated with the commit.
This is my commit message
Signed-off-by: Your Name <email@example.com>
Git has a
-s command line option to do this automatically:
git commit -s -m 'This is my commit message'
If you forgot to do this and have not yet pushed your changes to the remote repository, you can amend your commit with the sign-off by running:
git commit --amend -s
Development environment setup¶
The Iter8 project consists of the following repos.
- iter8-tools/iter8: source for the Iter8 CLI, performance test, and controller charts
- iter8-tools/docs: source for Iter8 docs
This is the source repo for Iter8 CLI.
git clone https://github.com/iter8-tools/iter8.git
Run unit tests and see coverage information¶
Build and push Iter8 image¶
Define a name for your Docker image
IMG=[Docker image name]
Build and push Iter8 image to Docker
docker build -f docker/Dockerfile -t $IMG .
docker push $IMG
To install a development build of the controller, set the
image property to the name of the Docker image $IMG:
helm upgrade --install --repo https://iter8-tools.github.io/iter8 --version 1.1 contoller \ --set image=$IMG
This is the source repo for Iter8 documentation.
git clone https://github.com/iter8-tools/docs.git
Locally serve docs¶
From the root of this repo:
python3 -m venv .venv
pip install -r requirements.txt
mkdocs serve -s