Add option to execute Tests for release (#178)

* Add button to execute tests

* Create API to execute tests

* Add modal for Test response

* Make API call to execute tests and show response in modal

* Clean up

* Update docs - feature execute tests for a release

* Add arg '--logs' to 'helm test' cmd

* Wait for API to complete before sending back response to frontend

* Add loading spinner until reponse for 'helm test' is returned from backend by API

* Clean-up

Co-authored-by: Harshit Mehta <harshitm@nvidia.com>
This commit is contained in:
Harshit Mehta
2023-01-12 18:05:11 +05:30
committed by GitHub
parent af1c09ae02
commit 83e4348ace
9 changed files with 80 additions and 0 deletions

View File

@@ -88,6 +88,16 @@ The official helm chart is [available here](https://github.com/komodorio/helm-ch
Download the appropriate [release package](https://github.com/komodorio/helm-dashboard/releases) for your platform, unpack it and just run `dashboard` binary from it.
## Execute Helm tests
For all the release(s) (istalled helm charts), you can execute helm tests for that release. For the tests to execute successfully, you need to have existing tests for that helm chart
You can execute `helm test` for the specific release as below:
![](screenshot_run_test.png)
The result of executed `helm test` for the release will be disapled as below:
![](screenshot_run_test_result.png)
## Scanner Integrations
Upon startup, Helm Dashboard detects the presence of [Trivy](https://github.com/aquasecurity/trivy)