Making sure the iso-build job and qemu-runner puts the ISO in the correct place

This commit is contained in:
Anton Hvornum 2024-05-14 15:02:22 +02:00
parent 933d46631d
commit d251e83928
No known key found for this signature in database
GPG Key ID: D4B58E897A929F2E
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/download-artifact@master
with:
name: Arch Live ISO
path: /tmp/archlive/out/*.iso
path: ./_work/iso/
- run: cd tests/qemu
- run: echo '' > serial.log
# Generate a .screenrc that will auto-run the test

View File

@ -248,7 +248,7 @@ for profile in parameters:
'-chardev', f'socket,id=serial1,fd={serial_socket.fileno()},server=on,wait=on',
'-mon', f'chardev=qmp1,mode=control,pretty=off',
'-serial', f"chardev:serial1",
'-drive', f'file=/home/anton/Downloads/archlinux-2024.05.13-x86_64.iso,media=cdrom,cache=none,id=cdrom0,index=0'
'-drive', f'file=$(ls -t ./_work/iso/archlinux-*-x86_64.iso | head -n 1),media=cdrom,cache=none,id=cdrom0,index=0'
]
logger.info(f"Spawning Qemu test profile {profile}")