fix(ci): inline smoke-vm as a step instead of a downstream job #2

Merged
daniel merged 1 commit from fix-smoke-inline into main 2026-04-18 12:31:52 +02:00

View file

@ -51,28 +51,13 @@ jobs:
retention-days: 14
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
# 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:
PVE_TEST_HOST: ${{ secrets.PVE_TEST_HOST }}
PVE_TEST_TOKEN: ${{ secrets.PVE_TEST_TOKEN }}