- Create scripts/smoke-test.sh for live server verification (7 checks) - Document planned GitHub Actions CI/CD pipeline in docs/ci-cd-plan.md - Integration tests deferred to future task (require test harness setup) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
907 B
907 B
CI/CD Pipeline Plan
CI Workflow (on push to main + PRs)
Jobs
-
Rust checks
cargo clippy --all-targets --all-features(zero warnings)cargo fmt --all -- --checkcargo test --all-features
-
Frontend checks
npm run type-check(vue-tsc)npm run lint(eslint)npm test(vitest)
-
Script validation
bash -non all .sh filesshellcheckon critical scripts
Merge policy
All checks must pass before merge.
Release Workflow (on tag push v*)
Jobs
- Build Linux binary (cross-compile x86_64 + ARM64)
- Build frontend (
npm run build) - ISO build via SSH to build server
- QEMU smoke test of ISO
Pre-requisites
- GitHub Actions runners with Rust toolchain
- SSH key for build server access
- Branch protection on main
- Image digest manifest from
scripts/image-versions.sh