fix(opentelemetry-collector): use valid regexp syntax in hostmetrics mount point excludes #599
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: Test Opentelemetry Kube Stack Charts | |
| on: | |
| pull_request: | |
| paths: | |
| - "charts/opentelemetry-kube-stack/**" | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| kube-stack-test-matrix: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| helm-version: | |
| - "v4.0.5" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| with: | |
| create-kind-cluster: "true" | |
| helm-version: ${{ matrix.helm-version }} | |
| - name: Install cert-manager | |
| run: | | |
| kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.yaml | |
| kubectl wait --timeout=5m --for=condition=available deployment cert-manager -n cert-manager | |
| kubectl wait --timeout=5m --for=condition=available deployment cert-manager-webhook -n cert-manager | |
| - name: Run chart-testing (install) | |
| run: ct install --charts charts/opentelemetry-kube-stack --helm-extra-set-args "--set=opentelemetry-operator.fullnameOverride=otel-operator" | |
| opentelemetry-kube-stack-test: | |
| if: always() | |
| runs-on: ubuntu-latest | |
| needs: [kube-stack-test-matrix] | |
| steps: | |
| - name: Check matrix result | |
| run: | | |
| if [[ "${{ needs.kube-stack-test-matrix.result }}" == "success" ]]; then | |
| echo "All matrix jobs passed!" | |
| else | |
| echo "One or more matrix jobs failed." | |
| exit 1 | |
| fi |