fix(ci): inline smoke-vm as a step instead of a downstream job
The separate smoke-vm job with `needs: build-iso` required round-tripping the 1.5 GB ISO through actions/upload-artifact + download-artifact. v3 on Forgejo has a known issue where large artifacts stall at 0.0% in the download step — the smoke run hung today with endless "Total file count: 1 ---- Processed file #0 (0.0%)" output. Since both jobs run on the same self-hosted runner (host mode, same workspace available), there was never a real need for the artifact indirection. Inlining as a step after the artifact upload reuses the ISO already in iso/out/ and skips the download entirely. step-level continue-on-error preserves the original guarantee that a VM-side flake doesn't mark the ISO build red. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d499907613
commit
7b894f096f
1 changed files with 6 additions and 21 deletions
|
|
@ -51,28 +51,13 @@ jobs:
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
smoke-vm:
|
|
||||||
# Boot the freshly built ISO in a VM on the .165 Proxmox test host and
|
|
||||||
# check the webinstaller responds on :5000. Shares the runner workspace
|
|
||||||
# with build-iso via `needs:` so we skip the artifact round-trip.
|
|
||||||
# `continue-on-error: true` so a VM-side flake doesn't mark the ISO
|
|
||||||
# build red — the ISO itself is still valid and uploaded.
|
|
||||||
needs: build-iso
|
|
||||||
runs-on: self-hosted
|
|
||||||
continue-on-error: true
|
|
||||||
timeout-minutes: 10
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Re-download ISO into iso/out
|
|
||||||
# `needs:` doesn't preserve the workspace across jobs on Forgejo
|
|
||||||
# host-mode runners, so pull the artifact we just uploaded.
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: furtka-iso
|
|
||||||
path: iso/out
|
|
||||||
|
|
||||||
- name: Smoke-test ISO on Proxmox test host
|
- name: Smoke-test ISO on Proxmox test host
|
||||||
|
# Inlined as a step (rather than a separate job with `needs:`) so
|
||||||
|
# we can reuse the ISO that's already in the workspace — Forgejo's
|
||||||
|
# actions/download-artifact@v3 hangs on 1.5 GB files.
|
||||||
|
# step-level continue-on-error: a VM-side flake doesn't mark the
|
||||||
|
# ISO build red, the ISO itself is still valid and uploaded.
|
||||||
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
PVE_TEST_HOST: ${{ secrets.PVE_TEST_HOST }}
|
PVE_TEST_HOST: ${{ secrets.PVE_TEST_HOST }}
|
||||||
PVE_TEST_TOKEN: ${{ secrets.PVE_TEST_TOKEN }}
|
PVE_TEST_TOKEN: ${{ secrets.PVE_TEST_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue