-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Contributing | ||
|
||
## Testing | ||
|
||
Install prerequisites: | ||
- [helm](https://helm.sh/) | ||
- [helm chart testing](https://github.com/helm/chart-testing) | ||
- [minikube](https://minikube.sigs.k8s.io/docs/start/) | ||
|
||
Start minikube: | ||
|
||
```sh | ||
minikube start | ||
``` | ||
|
||
Start chart-testing: | ||
|
||
```sh | ||
ct install --config ct.yaml --helm-extra-args '--timeout 200s' | ||
``` | ||
|
||
You can also add a yaml file in the `charts/monica/ci` directory to test the chart with different values. | ||
|
||
## Pre-commit | ||
|
||
This repository uses [pre-commit](https://pre-commit.com/) to run checks before each commit. | ||
|
||
To install pre-commit, run: | ||
|
||
```sh | ||
pre-commit install | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters