Development
This section describes the development process, the local environment and the tools MijnBureau uses. It aims to make contributing predictable.
Start here
| Task | Page |
|---|---|
| Run a cluster locally and iterate on charts | Local development |
| Run the test and policy suites | Testing |
| Add a new application to the platform | Add a new component |
| Cut and publish a release | Release process |
| Understand what AI assistants may do in this repo | AI coding assistants |
| Understand a past design decision | Architecture |
Getting Started
If you have an idea or want to make changes, you will need to create a Pull Request (PR) on the MijnBureau GitHub repository. For significant changes or new components, it is recommended to first create an Issue on the repository. This allows you to discuss the change and avoid spending time on something that might be declined due to architectural or business reasons.
Steps to Contribute
-
Fork the Repository:
- Fork the MijnBureau repository.
-
Create a Branch:
- Create a new branch for your changes.
-
Submit a Pull Request:
- Once your branch is ready, submit a PR on the GitHub repository.
Tools
To simplify development for new contributors, we provide DevContainers. These containers include all the required tools for developing MijnBureau applications.
Using DevContainers
To start a DevContainer in VS Code, refer to this manual.
Installing Tools Locally
If you prefer not to use DevContainers, you can install the required tools on your machine. The most important tools are:
Additional Tools
For testing and policy adherence, you may need the following tools:
- Python3: Required for GitLint.
- Node.js & npm: Used for Prettier formatting.
- Conftest: For policy testing with the Rego language.
- Regal: For policy editing.
- Kubeconform: For Kubernetes manifest validation.
Helmfile
Helmfile requires plugins to function. Install the necessary plugins by running:
helmfile init