From 72abc70a42a505af365fc5a892009ebeeba524ec Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 19 Jan 2026 13:16:33 -0600 Subject: Add comprehensive installation tests and ZFS script deployment - Add scripts/full-test.sh for automated install testing (single, mirror, raidz1) - Add --full-test option to build-release workflow - Install zfssnapshot and zfsrollback to target system during install - Simplify .gitignore to exclude entire vm/ directory --- SESSION-CONTEXT.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'SESSION-CONTEXT.md') diff --git a/SESSION-CONTEXT.md b/SESSION-CONTEXT.md index ee2d12f..8d4a900 100644 --- a/SESSION-CONTEXT.md +++ b/SESSION-CONTEXT.md @@ -140,5 +140,29 @@ Distributed to: ## Pending/Future Work - User should run archsetup on ratio after genesis rollback -- Consider adding `--full-test` option to build-release for comprehensive testing - archsetup inbox task: remove duplicate zfssnapshot/zfsrollback scripts + +## Session 2026-01-19 (continued) + +### Added --full-test to build-release + +Created comprehensive installation test framework: + +**New File: `scripts/full-test.sh`** +- Automated installation testing for all disk configurations +- Tests: single-disk, mirror (2 disks), raidz1 (3 disks) +- Each test: boots ISO, runs unattended install, reboots, verifies ZFS health +- Options: `--quick` (single-disk only), `--verbose` +- Runs sanity-test.sh first, then install tests + +**Modified: `scripts/build-release`** +- Added `--full-test` option +- When specified, runs full-test.sh instead of sanity-test.sh +- Usage: `sudo ./scripts/build-release --full-test` + +**Usage:** +```bash +sudo ./scripts/build-release # Sanity test only (fast) +sudo ./scripts/build-release --full-test # All install tests (~30-45 min) +sudo ./scripts/build-release --skip-test # No testing +``` -- cgit v1.2.3