Fix filtering algorithm #254
Workflow file for this run
This file contains 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: Validate Helm input | |
on: | |
push: | |
paths: | |
- ".github/workflows/validate_helm_input.yml" | |
- "helm/charts/**" | |
- "helm/tests/scripts/01_test_helm_inputs.sh" | |
pull_request: | |
paths: | |
- ".github/workflows/validate_helm_input.yml" | |
- "helm/charts/**" | |
- "helm/tests/scripts/01_test_helm_inputs.sh" | |
jobs: | |
validate-helm-input: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
cases: | |
- name: Cluster name should be defined | |
id: "01" | |
- name: At least 1 telemetry type should be enabled | |
id: "02" | |
- name: New Relic account should be defined - Deployment | |
id: "03" | |
- name: New Relic account should be defined - Daemonset | |
id: "04" | |
- name: New Relic account should be defined - Statefulset | |
id: "05" | |
- name: New Relic account should be defined - Singleton | |
id: "06" | |
- name: OTLP endpoint should be valid (global) - Deployment | |
id: "07" | |
- name: OTLP endpoint should be valid (global) - Daemonset | |
id: "08" | |
- name: OTLP endpoint should be valid (global) - Statefulset | |
id: "09" | |
- name: OTLP endpoint should be valid (global) - Singleton | |
id: "10" | |
- name: OTLP endpoint should be valid (individual) - Deployment | |
id: "11" | |
- name: OTLP endpoint should be valid (individual) - Daemonset | |
id: "12" | |
- name: OTLP endpoint should be valid (individual) - Statefulset | |
id: "13" | |
- name: OTLP endpoint should be valid (individual) - Singleton | |
id: "14" | |
- name: License key should be defined (global) - Deployment | |
id: "15" | |
- name: License key should be defined (global) - Daemonset | |
id: "16" | |
- name: License key should be defined (global) - Statefulset | |
id: "17" | |
- name: License key should be defined (global) - Singleton | |
id: "18" | |
- name: License key should be defined (individual) - Deployment | |
id: "19" | |
- name: License key should be defined (individual) - Daemonset | |
id: "20" | |
- name: License key should be defined (individual) - Statefulset | |
id: "21" | |
- name: License key should be defined (individual) - Singleton | |
id: "22" | |
- name: Referenced license key should have a name (global) - Deployment | |
id: "23" | |
- name: Referenced license key should have a name (global) - Daemonset | |
id: "24" | |
- name: Referenced license key should have a name (global) - Statefulset | |
id: "25" | |
- name: Referenced license key should have a name (global) - Singleton | |
id: "26" | |
- name: Referenced license key should have a name (individual) - Deployment | |
id: "27" | |
- name: Referenced license key should have a name (individual) - Daemonset | |
id: "28" | |
- name: Referenced license key should have a name (individual) - Statefulset | |
id: "29" | |
- name: Referenced license key should have a name (individual) - Singleton | |
id: "30" | |
- name: Referenced license key should have a key (global) - Deployment | |
id: "31" | |
- name: Referenced license key should have a key (global) - Daemonset | |
id: "32" | |
- name: Referenced license key should have a key (global) - Statefulset | |
id: "33" | |
- name: Referenced license key should have a key (global) - Singleton | |
id: "33" | |
- name: Referenced license key should have a key (individual) - Deployment | |
id: "34" | |
- name: Referenced license key should have a key (individual) - Daemonset | |
id: "35" | |
- name: Referenced license key should have a key (individual) - Statefulset | |
id: "36" | |
- name: Referenced license key should have a key (individual) - Singleton | |
id: "36" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: "v3.11.1" | |
- name: Update Helm dependencies | |
shell: bash | |
run: helm dependency update ./helm/charts/collectors | |
- name: ${{ matrix.cases.name }} | |
shell: bash | |
run: cd ./helm/tests/scripts && bash 01_test_helm_inputs.sh --case ${{ matrix.cases.id }} |