mkosi: Check for failures by mounting again

We rely on vsock to communicate the exit status back to us from the
VM but vsock in Github Actions is broken so let's switch back to
mounting for now.
This commit is contained in:
Daan De Meyer
2023-05-31 14:22:58 +02:00
parent 84c7929cd4
commit df4835c897
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -124,3 +124,7 @@ jobs:
- name: Boot ${{ matrix.distro }} QEMU
run: timeout -k 30 10m mkosi --debug qemu
# vsock in Github Actions with qemu is broken so for now we check for failures manually.
- name: Check ${{ matrix.distro }} QEMU
run: sudo mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }"