test: Fix flakiness by isolating test resources #620
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: PR Integration | |
env: | |
IMG: europe-docker.pkg.dev/kyma-project/dev/telemetry-manager:PR-${{ github.event.number }} | |
on: | |
pull_request: | |
branches: | |
- "main" | |
- "release-*" | |
paths-ignore: | |
- "docs/**" | |
- "**.md" | |
workflow_dispatch: | |
jobs: | |
e2e-metrics-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare test | |
uses: "./.github/template/prepare-test" | |
with: | |
release: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="metrics && !v1beta1" test/e2e | |
- name: Finalize test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-metrics: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="metrics" test/e2e | |
- name: Finalize test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-traces-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
release: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="traces && !v1beta1" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-traces: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="traces" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-logs-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
release: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="logs && !v1beta1" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-logs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="logs" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-telemetry-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
release: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="telemetry && !v1beta1" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-telemetry: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="telemetry" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-telemetry-logs-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: | | |
hack/deploy-istio.sh | |
bin/ginkgo run --tags e2e --label-filter="telemetry-logs-analysis" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-integration-istio: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: | | |
hack/deploy-istio.sh | |
bin/ginkgo run --tags istio test/integration/istio | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-self-monitor-traces: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="self-mon-traces" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-self-monitor-metrics: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="self-mon-metrics" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() | |
e2e-self-monitor-logs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Prepare Test | |
uses: "./.github/template/prepare-test" | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: bin/ginkgo run --tags e2e --label-filter="self-mon-logs" test/e2e | |
- name: Finalize Test | |
uses: "./.github/template/finalize-test" | |
if: success() || failure() | |
with: | |
failure: failure() |