https://github.com/launchbynttdata/actions-helm-test
GitHub Action for Helm to run tests
https://github.com/launchbynttdata/actions-helm-test
helm
Last synced: 3 months ago
JSON representation
GitHub Action for Helm to run tests
- Host: GitHub
- URL: https://github.com/launchbynttdata/actions-helm-test
- Owner: launchbynttdata
- License: apache-2.0
- Created: 2024-03-18T17:53:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-28T13:20:22.000Z (about 1 year ago)
- Last Synced: 2025-01-03T10:46:35.824Z (4 months ago)
- Topics: helm
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Action to test a helm chart
## About
This action is designed to run a series of tests against the helm chart specified in `test_path`.
Tests included:
* Linting
* Build success
* Validation against the Kubernetes API (via [kubeconform](https://github.com/yannh/kubeconform))## Usage
```workflow
...
steps:
- name: Test a Helm chart
uses: launchbynttdata/actions-helm-test@v0
with:
test_path: path/to/test
value_file: path/to/values.yaml
kube_api_version: "1.2.3" #(optional: default 1.26.5)
...
```To use this action, you need to provide the following input:
* `test_path`: The path to the test directory containing the chart to be tested.
* `value_file`: The path to the values file to be used for the test.
* `kube_api_version`: The version of the Kubernetes API to be used when validating the output of the helm templates. Optional, default: 1.26.5.## Compatibility
This action has only been tested on GitHub.com.