mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-05 22:46:32 +01:00
build(github): rerun a run that lost its runner's KVM
A hosted runner of a private repository can land on a host with no /dev/kvm, which failed one vm-fast job of a run (core-e2e, 2026-10-28) and nothing else. The Enable KVM step now says so, and rerun-no-kvm reruns the failed jobs, up to three attempts, when every failed job failed on that step. A failed suite is not rerun.
This commit is contained in:
1 parent
0bb19915c3
commit
88b12fd253
2 files changed
+40
-1
No files matched your search
@@ -31,7 +31,9 @@ runs:
|
||||
sudo tee /etc/udev/rules.d/99-kvm4all.rules
|
||||
sudo udevadm control --reload-rules
|
||||
sudo udevadm trigger --name-match=kvm
|
||||
test -w /dev/kvm
|
||||
# The host of a hosted runner is not chosen: some have no nested virtualization. The step is
|
||||
# named so that rerun-no-kvm.yaml can tell this failure from a failed suite and run it again.
|
||||
test -w /dev/kvm || { echo "::error::this runner has no usable /dev/kvm"; exit 1; }
|
||||
|
||||
# This action only installs nix. It does not use the Cachix service, and no Cachix cache, account
|
||||
# or token is configured anywhere in this repository.
|
||||
|
||||
Reference in new issue
Block a user