Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sagikazarmark/demo-dagger-helm
Demo: Testing and releasing Helm charts with Dagger
https://github.com/sagikazarmark/demo-dagger-helm
dagger demo
Last synced: about 1 month ago
JSON representation
Demo: Testing and releasing Helm charts with Dagger
- Host: GitHub
- URL: https://github.com/sagikazarmark/demo-dagger-helm
- Owner: sagikazarmark
- License: mit
- Created: 2024-09-20T18:57:06.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T19:37:20.000Z (4 months ago)
- Last Synced: 2024-11-26T19:31:28.417Z (about 1 month ago)
- Topics: dagger, demo
- Language: Go
- Homepage: https://openmeter.io/blog/supercharge-helm-chart-development-with-dagger
- Size: 36.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Demo: Testing and releasing Helm charts with [Dagger](https://dagger.io/)
This project demonstrates how to test and release Helm charts using [Dagger](https://dagger.io/).
The example chart for this demo is the default Helm chart created with `helm create`.
The actual command used to generate the chart is:
```sh
dagger -m github.com/sagikazarmark/daggerverse/[email protected] call create --name demo-dagger-helm directory export --path deploy/charts/demo-dagger-helm --wipe
```The Dagger module comes with the following commands:
- `build`: Build the application (nginx image with a custom `index.html`)
- `serve`: Serve the application (for demo purposes)
- `test`: Run Helm tests in a real Kubernetes cluster
- `lint`: Run `helm lint` on the chart
- `release`: Package and release the chart to a Helm repositoryThe repo also comes with a GitHub Actions workflow that runs the tests on every push and releases the chart on every tag.