1
0
Fork 0

Update CI workflow to adjust job dependencies and remove conditional triggers

- Removed `if` conditions for `Tests-E2E-Docker` and `Tests-E2E-Kubernetes` jobs, ensuring they always run.
- Updated `Build` job to depend on both E2E test jobs for stricter validation before building.
This commit is contained in:
Joao Gilberto Magalhaes 2026-02-12 18:11:18 -05:00
parent 0a400b976c
commit bec91950c5

View file

@ -42,7 +42,6 @@ jobs:
Tests-E2E-Docker: Tests-E2E-Docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
timeout-minutes: 20 timeout-minutes: 20
permissions: permissions:
contents: read contents: read
@ -66,7 +65,6 @@ jobs:
Tests-E2E-Kubernetes: Tests-E2E-Kubernetes:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
timeout-minutes: 30 timeout-minutes: 30
permissions: permissions:
contents: read contents: read
@ -90,7 +88,7 @@ jobs:
Build: Build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: Test needs: [Test, Tests-E2E-Docker, Tests-E2E-Kubernetes]
permissions: permissions:
contents: read contents: read
packages: write packages: write