Contributing¶
Developers are expected to test their changes locally before creating a Pull Request:
You should only open a Pull Request when one of the below requirements are met:
- You have tested your changes locally and are confident your work is ready for peer review
Once a PR is opened the E2E tests will run and a build will be attempted, if all requirements are met the PR can be merged.
Once a PR is merged a new pipeline will run which will Tag and Release the documentation.
Project structure¶
deployment
: Deployment scripts and chartscharts
: Dependency chartsk3d
: Local kubernetes cluster configuration
e2e
: E2E tests for environment
Testing¶
Creating a pull request for this project will test the following:
- The task commands run successfully
- K3D can be started
- The charts can be installed
- The dependencies are accessible and healthy
If you add a new dependency then you will need to create an E2E test for it, you must also update the taskfile.yaml
file in the root of the project to install and uninstall the new dependency.
The relevant tasks for this are k3d:install:charts
and k3d:delete:charts
, you can follow the existing examples.