Skip to content

Commit cc938c6

Browse files
committed
ci: always build deb and rpm packages
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 7e63ed0 commit cc938c6

3 files changed

Lines changed: 15 additions & 11 deletions

File tree

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
8888
version:
8989
needs: [pr_metadata]
90-
if: needs.pr_metadata.outputs.should_run == 'true' && needs.pr_metadata.outputs.run_any_e2e == 'true'
90+
if: needs.pr_metadata.outputs.should_run == 'true'
9191
permissions:
9292
contents: read
9393
runs-on: ubuntu-latest
@@ -199,7 +199,7 @@ jobs:
199199

200200
build-vm-driver:
201201
needs: [pr_metadata, version, build-binaries]
202-
if: needs.pr_metadata.outputs.run_core_e2e == 'true' || needs.pr_metadata.outputs.run_integration_upgrades == 'true'
202+
if: needs.pr_metadata.outputs.should_run == 'true'
203203
permissions:
204204
contents: read
205205
uses: ./.github/workflows/build-vm-driver.yml
@@ -225,10 +225,10 @@ jobs:
225225
packages: read
226226
uses: ./.github/workflows/prepare-integration-inputs.yml
227227

228-
build-deb-upgrade:
229-
name: Build Debian package for upgrade qualification
228+
build-deb:
229+
name: Build Debian packages
230230
needs: [pr_metadata, version, build-binaries, build-vm-driver]
231-
if: needs.pr_metadata.outputs.run_integration_upgrades == 'true'
231+
if: needs.pr_metadata.outputs.should_run == 'true'
232232
permissions:
233233
actions: read
234234
contents: read
@@ -238,10 +238,10 @@ jobs:
238238
deb-version: ${{ needs.version.outputs.deb }}
239239
checkout-ref: ${{ github.sha }}
240240

241-
build-rpm-upgrade:
242-
name: Build RPM packages for upgrade qualification
241+
build-rpm:
242+
name: Build RPM packages
243243
needs: [pr_metadata, version, build-binaries]
244-
if: needs.pr_metadata.outputs.run_integration_upgrades == 'true'
244+
if: needs.pr_metadata.outputs.should_run == 'true'
245245
permissions:
246246
actions: read
247247
contents: read
@@ -254,7 +254,7 @@ jobs:
254254

255255
prepare-integration-upgrades:
256256
name: Prepare upgrade qualification inputs
257-
needs: [pr_metadata, build-binaries, build-images, build-deb-upgrade, build-rpm-upgrade]
257+
needs: [pr_metadata, build-binaries, build-images, build-deb, build-rpm]
258258
if: needs.pr_metadata.outputs.run_integration_upgrades == 'true'
259259
permissions:
260260
actions: read

‎.github/workflows/e2e-label-help.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
status_summary="The matching required CI gate status on this PR will flip green automatically once the run finishes."
5252
;;
5353
test:upgrade)
54-
suite_summary="the Debian upgrade qualification"
55-
build_summary="the Debian package, VM driver, sandbox image, and supervisor image"
54+
suite_summary="the Debian and RPM upgrade qualification"
55+
build_summary="DEB and RPM packages, VM driver, sandbox image, and supervisor image"
5656
status_summary="This is an optional proof-of-life suite; failures are visible in the workflow run but do not publish a required CI gate status."
5757
;;
5858
test:e2e-kubernetes)

‎CI.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ so Windows failures do not fail the workflow.
2020

2121
Four opt-in labels enable the long-running E2E suites:
2222

23+
Every approved `Branch E2E Checks` run builds the DEB and RPM packages, even
24+
when no optional E2E label is present. The `test:upgrade` label controls only
25+
the tmachine upgrade execution and its runtime-image preparation.
26+
2327
- `test:e2e` runs the Docker, rootless Podman, Kubernetes, and VM E2E suites
2428
with both managed and standalone compute drivers in `Branch E2E Checks`
2529
- `test:e2e-gpu` runs GPU E2E in `Branch E2E Checks`

0 commit comments

Comments
 (0)