Skip to content

Commit 9a620c3

Browse files
committed
fix(ci): build e2e artifacts only for selected tests
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent f01fdf5 commit 9a620c3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/branch-e2e.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
7272
version:
7373
needs: [pr_metadata]
74-
if: needs.pr_metadata.outputs.should_run == 'true'
74+
if: needs.pr_metadata.outputs.should_run == 'true' && needs.pr_metadata.outputs.run_any_e2e == 'true'
7575
permissions:
7676
contents: read
7777
runs-on: ubuntu-latest
@@ -217,7 +217,7 @@ jobs:
217217
build-rpm:
218218
name: Build RPM packages
219219
needs: [pr_metadata, version, build-binaries]
220-
if: needs.pr_metadata.outputs.should_run == 'true'
220+
if: needs.pr_metadata.outputs.run_integration == 'true'
221221
permissions:
222222
actions: read
223223
contents: read

‎CI.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ Windows checks are not required for merging and do not run in merge queues.
7272
Main and manual runs also build release binaries, with `continue-on-error: true`
7373
so Windows failures do not fail the workflow.
7474

75-
Every approved `Branch E2E Checks` run builds the RPM packages, including
76-
runs without optional E2E labels. Core integration qualification builds and installs
75+
`Branch E2E Checks` builds binaries and images only when an E2E suite is
76+
selected. DEB and RPM packages build only when integration qualification is selected. Core integration qualification builds and installs
7777
the DEB on Ubuntu with Docker and installs the CLI and gateway RPMs on Fedora with
7878
rootful and rootless Podman. These lanes run conformance using the matching runtime
7979
images. Release Dev and Release Tag use the same package installers.

0 commit comments

Comments
 (0)