Open ibakshay opened 5 days ago
Add comprehensive Helm Chart Test capabilities to Perses helm charts using the bats-detik testing framework.
Currently, Perses helm chart lack automated testing. Adding helm chart tests will improve reliability and catch potential issues earlier.
Implement helm chart tests using bats-detik framework, which offers several advantages:
Will update GitHub Actions workflow to include helm testing:
name: "Helm lint and tests" jobs: helm-lint-test: runs-on: [ default ] steps: - name: Create kind cluster uses: helm/kind-action@v1.10.0 - name: Run chart integration tests run: ct install --config .github/configs/helm-test.yaml
We're already successfully using bats-detik for the helm charts in our kubernetes-based platform. Reference implementation can be found here: https://cloudoperators.github.io/greenhouse/docs/user-guides/plugin/plugin-tests/
If this proposal is accepted then I will create a Pull Request π CC: @nicolastakashi @Nexucis
I really love that idea, we're using it in the OTel helm chart as well ππ½
Proposal
Overview
Add comprehensive Helm Chart Test capabilities to Perses helm charts using the bats-detik testing framework.
Motivation
Currently, Perses helm chart lack automated testing. Adding helm chart tests will improve reliability and catch potential issues earlier.
Proposed Solution
Implement helm chart tests using bats-detik framework, which offers several advantages:
CI Integration
Will update GitHub Actions workflow to include helm testing:
Prior Art
We're already successfully using bats-detik for the helm charts in our kubernetes-based platform. Reference implementation can be found here: https://cloudoperators.github.io/greenhouse/docs/user-guides/plugin/plugin-tests/
If this proposal is accepted then I will create a Pull Request π CC: @nicolastakashi @Nexucis