Merge pull request 'fix(ci): apk-install smoke prerequisites before running smoke-vm.sh' (#4) from fix-smoke-deps into main
Reviewed-on: #4
This commit is contained in:
commit
2cfe54e03a
2 changed files with 13 additions and 0 deletions
|
|
@ -62,6 +62,13 @@ jobs:
|
||||||
cp -f "$iso" /data/smoke-cache/latest.iso
|
cp -f "$iso" /data/smoke-cache/latest.iso
|
||||||
ls -lh /data/smoke-cache/latest.iso
|
ls -lh /data/smoke-cache/latest.iso
|
||||||
|
|
||||||
|
- name: Install smoke prerequisites
|
||||||
|
# Runner container is Alpine with a near-empty base; smoke-vm.sh
|
||||||
|
# needs curl, python3, arp-scan, and sudo (kept so the script
|
||||||
|
# also works when invoked from a dev laptop as a non-root user).
|
||||||
|
# apk cache survives across jobs so subsequent runs are ~1 s.
|
||||||
|
run: apk add --no-cache curl python3 arp-scan sudo
|
||||||
|
|
||||||
- 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
|
# 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
|
# we can reuse the ISO that's already in the workspace — Forgejo's
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,12 @@ jobs:
|
||||||
echo "Will smoke: $iso"
|
echo "Will smoke: $iso"
|
||||||
ls -lh "$iso"
|
ls -lh "$iso"
|
||||||
|
|
||||||
|
- name: Install smoke prerequisites
|
||||||
|
# Runner container is Alpine with a near-empty base; smoke-vm.sh
|
||||||
|
# needs curl, python3, arp-scan, and sudo (kept so the script
|
||||||
|
# also works when invoked from a dev laptop as a non-root user).
|
||||||
|
run: apk add --no-cache curl python3 arp-scan sudo
|
||||||
|
|
||||||
- name: Smoke-test ISO on Proxmox test host
|
- name: Smoke-test ISO on Proxmox test host
|
||||||
env:
|
env:
|
||||||
PVE_TEST_HOST: ${{ secrets.PVE_TEST_HOST }}
|
PVE_TEST_HOST: ${{ secrets.PVE_TEST_HOST }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue