build(deps): bump github.com/prometheus/client_golang from 1.23.2 to 1.24.1 #136
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: E2E Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| workflow_dispatch: # Allow manual trigger | |
| permissions: | |
| contents: read | |
| jobs: | |
| e2e-tests: | |
| name: Run E2E Tests (${{ matrix.k8s }}) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| # Node images are digest-pinned from the kind release notes; | |
| # `kind load` requires kind v0.32+ for the 1.36 images. | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - k8s: v1.32.11 | |
| node_image: kindest/node:v1.32.11@sha256:5fc52d52a7b9574015299724bd68f183702956aa4a2116ae75a63cb574b35af8 | |
| - k8s: v1.36.1 | |
| node_image: kindest/node:v1.36.1@sha256:3489c7674813ba5d8b1a9977baea8a6e553784dab7b84759d1014dbd78f7ebd5 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: 'go.mod' | |
| cache: true | |
| - name: Create kind cluster | |
| uses: helm/kind-action@v1 | |
| with: | |
| version: v0.32.0 | |
| cluster_name: kind | |
| node_image: ${{ matrix.node_image }} | |
| config: scripts/kind-config-ci.yaml | |
| wait: 300s | |
| - name: Verify cluster | |
| run: | | |
| kubectl cluster-info | |
| kubectl get nodes | |
| kubectl get pods -A | |
| - name: Run E2E tests | |
| run: make test-e2e | |
| env: | |
| KUBECONFIG: /home/runner/.kube/config | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: e2e-results-${{ github.run_number }}-${{ matrix.k8s }} | |
| path: test/e2e/results/ | |
| retention-days: 7 | |
| # Runs from Dependabot PRs and forks get a read-only GITHUB_TOKEN, so creating a | |
| # check run fails with 403. Report into the job summary instead, which needs no token. | |
| - name: Publish test results | |
| if: always() | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| with: | |
| files: test/e2e/results/run-*/reports/junit-report.xml | |
| comment_mode: off | |
| check_run: false |