test: add OTEL-to-ClickHouse ingestion assertions to integration smoke test #409
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Helm Chart Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'charts/**' | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| helm-unittest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y unzip git curl | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v3 | |
| with: | |
| version: v3.12.0 | |
| - name: Install helm-unittest plugin | |
| run: | | |
| helm plugin install https://github.com/helm-unittest/helm-unittest.git --version v1.0.3 ${{ runner.debug && '--debug' || ''}} | |
| - name: Build chart dependencies | |
| run: | | |
| helm repo add mongodb https://mongodb.github.io/helm-charts | |
| helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts | |
| helm dependency build charts/clickstack | |
| - name: Validate ALB example values render | |
| run: | | |
| helm template clickstack-example charts/clickstack \ | |
| -f examples/alb-ingress/values.yaml >/dev/null | |
| - name: Run helm-unittest | |
| run: | | |
| helm unittest charts/clickstack |