Skip to content

Commit bb00505

Browse files
authored
Merge pull request #18 from nova-rey/codex/add-ci-workflow-for-installer-runtime
2 parents c6dc8a7 + 713a89a commit bb00505

3 files changed

Lines changed: 60 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Screaming Penguin Installer Runtime CI
2+
3+
on:
4+
push:
5+
paths:
6+
- "installer/runtime/**"
7+
- ".github/workflows/installer-runtime-ci.yml"
8+
pull_request:
9+
paths:
10+
- "installer/runtime/**"
11+
- ".github/workflows/installer-runtime-ci.yml"
12+
workflow_dispatch:
13+
14+
jobs:
15+
shell-syntax:
16+
name: Shell Syntax Check (Installer Runtime)
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Show environment info
24+
run: |
25+
uname -a
26+
echo "Shell: $SHELL"
27+
28+
- name: POSIX shell syntax check for installer runtime scripts
29+
run: |
30+
echo "[CI] Running 'sh -n' on installer/runtime scripts..."
31+
find installer/runtime -type f -name "*.sh" -print0 | xargs -0 sh -n

docs/CI_OVERVIEW.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,21 @@ This workflow does not run on every push or pull request to avoid
137137
overloading Debian mirrors and to keep PR latency low. It is intended
138138
for periodic validation of the rootfs builder and can be triggered
139139
manually when needed.
140+
141+
## Installer Runtime CI (Phase 5)
142+
143+
The installer runtime shell scripts are validated by a dedicated CI workflow:
144+
145+
- **Workflow file:** `.github/workflows/installer-runtime-ci.yml`
146+
- **Triggers:**
147+
- On push and pull request affecting `installer/runtime/**`
148+
- Manual (`workflow_dispatch`)
149+
150+
The job performs a POSIX shell syntax check using `sh -n` over all
151+
`installer/runtime/*.sh` files. This ensures that the installer orchestration
152+
and helper scripts remain syntactically valid without executing them or
153+
touching any block devices.
154+
155+
This workflow complements the main image build and QEMU smoke tests by
156+
providing a fast, low-risk verification path focused specifically on the
157+
installer runtime.

docs/SP_BIBLE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,14 @@ GPT + EFI + ext4, rootfs extraction, chroot-based system configuration
102102
machine in sp-installer. Audio hooks were implemented as best-effort helpers
103103
for startup and completion. Initramfs wiring and CI coverage remain for later
104104
checkpoints.
105+
106+
## Entry 011 — Phase 5 Installer CI and Polish
107+
108+
**Date:** 2025-11-16
109+
110+
Completed Phase 5 by adding CI coverage for the installer runtime scripts.
111+
Introduced a dedicated GitHub Actions workflow (`installer-runtime-ci.yml`)
112+
that runs `sh -n` over all installer/runtime shell scripts on relevant pushes
113+
and pull requests. Updated CI_OVERVIEW.md to document this workflow. No
114+
runtime behavior changes were made in this checkpoint; it strictly improves
115+
confidence in the installer shell code.

0 commit comments

Comments
 (0)