Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 repository

The repo also comes with a GitHub Actions workflow that runs the tests on every push and releases the chart on every tag.