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:
parent
0a400b976c
commit
bec91950c5
1 changed files with 1 additions and 3 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -42,7 +42,6 @@ jobs:
|
|||
|
||||
Tests-E2E-Docker:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
|
||||
timeout-minutes: 20
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -66,7 +65,6 @@ jobs:
|
|||
|
||||
Tests-E2E-Kubernetes:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
|
||||
timeout-minutes: 30
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -90,7 +88,7 @@ jobs:
|
|||
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: Test
|
||||
needs: [Test, Tests-E2E-Docker, Tests-E2E-Kubernetes]
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue