Skip to content

Commit 6c1e9bb

Browse files
committed
ci: make Omarchy rebuild explicit
1 parent adecd87 commit 6c1e9bb

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

‎.github/workflows/midscene-experimental.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ on:
44
push:
55
branches: [ci/midscene-e2e]
66
paths:
7-
- ".github/workflows/midscene-experimental.yml"
8-
- "tests/midscene/**"
7+
# The VM install is deliberately expensive. Push this marker only when
8+
# the pinned Omarchy ISO or installer harness needs to be revalidated.
9+
- "tests/midscene/.rebuild-omarchy-vm"
910
workflow_dispatch:
1011

1112
permissions:
@@ -36,4 +37,3 @@ jobs:
3637
path: .midscene-omarchy/omarchy-iso/test-runs/**/runs/**
3738
if-no-files-found: warn
3839
retention-days: 3
39-

‎tests/midscene/README.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ official Omarchy ISO in a headless QEMU/KVM VM. It reuses Omarchy's own ISO
88
acceptance harness and saves installer screenshots and logs as short-lived
99
artifacts. It does not upload the VM disk or its temporary SSH key.
1010

11+
The full Omarchy install is intentionally not triggered by ordinary pushes.
12+
During development on this branch, deliberately add/update
13+
`tests/midscene/.rebuild-omarchy-vm` only when the pinned ISO or installer
14+
harness changes. Once this workflow exists on the default branch, it can also
15+
be started with `workflow_dispatch`. GitHub-hosted runners are ephemeral, so
16+
every such full rebuild downloads the pinned ISO again; routine Ubuntu
17+
Midscene tests do not need the ISO.
18+
19+
Omarchy 4.0.3 was installed successfully on a GitHub-hosted runner in
20+
[Actions run 34866563731](https://github.com/quanru/doubao-say/actions/runs/34866563731).
21+
The run took 13 minutes 41 seconds, including about 55 seconds to transfer the
22+
ISO.
23+
1124
After that probe is stable, the next stages are:
1225

1326
1. Boot a throwaway overlay from the installed base image.

0 commit comments

Comments
 (0)