orange-cloudfoundry / helm-kubectl-boshrelease

https://orange-cloudfoundry.github.io/helm-kubectl-boshrelease/
Apache License 2.0
6 stars 1 forks source link

Support invoking helm test in errand #5

Open gberche-orange opened 5 years ago

gberche-orange commented 5 years ago

As a developer, in order to save time on manual tests, I need the bosh release to invoke helm test when installing a chart

Example output on existing charts

$ HELMS=$(helm list | awk '{print $1}' | grep -v NAME)
$ for h in $HELMS ; do helm test $h; done;
    No Tests Found
    No Tests Found
    RUNNING: elasticsearch-eocgf-test
    PASSED: elasticsearch-eocgf-test
    No Tests Found
    No Tests Found
    RUNNING: gitlab-unicorn-test-runner-un8jd
    FAILED: gitlab-unicorn-test-runner-un8jd, run `kubectl logs gitlab-unicorn-test-runner-un8jd --namespace gitlab` for more info
    Error: 1 test(s) failed
    No Tests Found
    No Tests Found
    No Tests Found
    RUNNING: kubeapps-chartsvc-test
    PASSED: kubeapps-chartsvc-test
    RUNNING: kubeapps-dashboard-test
    PASSED: kubeapps-dashboard-test
    RUNNING: kubeapps-tiller-proxy-test
    PASSED: kubeapps-tiller-proxy-test
    No Tests Found
    No Tests Found
    No Tests Found
    No Tests Found
    No Tests Found
    RUNNING: traefik-test
    PASSED: traefik-test
    No Tests Found
    No Tests Found
gberche-orange commented 3 years ago

Alternatives: