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: 24 days 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 (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T19:37:20.000Z (10 months ago)
- Last Synced: 2025-06-12T19:41:56.638Z (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: 3
- Watchers: 1
- Forks: 1
- 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.