refactor: consolidate test-iso.sh and monitor-build.sh into run.sh

- Merged VM testing functions into run.sh (test:iso commands)
- Merged build monitoring into run.sh (monitor command)
- Updated tests to reference ./run.sh test:iso instead of ./test-iso.sh
- Updated documentation (README.md, AGENTS.md, STATUS.md)
- Removed standalone scripts per project cleanup

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
Charles N Wyble
2026-02-17 15:22:21 -05:00
parent 3b5558c031
commit d9f2f02138
12 changed files with 487 additions and 447 deletions

View File

@@ -28,14 +28,13 @@
---
## Project Status (2026-01-29)
## Project Status (2026-02-17)
### ✅ Build Complete
- **Status**: ISO built and verified
- **Build Date**: 2026-01-28 16:30 CST
- **Duration**: 72 minutes (9 stages completed)
- **ISO**: `output/knel-football-secure-v1.0.0.iso` (450 MB)
- **Checksums**: SHA256 ✅, MD5 ✅
### ✅ Build In Progress
- **Status**: ISO rebuilding with latest security changes
- **Build Started**: 2026-02-17 14:28 CST
- **ISO**: `output/knel-football-secure-v1.0.0.iso`
- **Changes**: Removed hardcoded passwords from preseed, force installer prompts
### Mandatory Requirements Implemented
-**FR-001: Full Disk Encryption** - LUKS2, AES-256-XTS, 512-bit key
@@ -54,10 +53,21 @@
./run.sh test:security # Run security tests only
./run.sh lint # Check scripts
./run.sh clean # Remove artifacts
./run.sh iso # Build ISO (30-60 min)
./run.sh iso # Build ISO (60-90 min)
./run.sh monitor # Monitor build progress
./run.sh shell # Interactive shell
```
### VM Testing (requires libvirt)
```bash
./run.sh test:iso check # Check prerequisites
./run.sh test:iso create # Create and start test VM (UEFI/Secure Boot)
./run.sh test:iso console # Connect to VM console
./run.sh test:iso status # Show VM status
./run.sh test:iso destroy # Destroy VM and cleanup
./run.sh test:iso boot-test # Run automated boot test
```
### Build Commands
```bash
# Monitor ISO build
@@ -240,7 +250,7 @@ git push origin main
## Testing
### Test Coverage
- **11 test files** with ~150+ test cases
- **19 test files** with 111 test cases
- **~95% code coverage** (all critical paths tested)
- **Security requirements**: 100% coverage (FR-001, FR-007)
@@ -253,9 +263,10 @@ git push origin main
```
### Test Results
- Unit tests: 7 files covering all shell scripts
- Integration tests: 2 files for end-to-end workflows
- Security tests: 3 files for FR-001/FR-007 compliance
- Unit tests: 12 tests covering all shell scripts
- Integration tests: 6 tests for end-to-end workflows
- Security tests: 44 tests for FR-001/FR-007 compliance
- System tests: 47 tests (static analysis, skip without VM)
---
@@ -270,7 +281,8 @@ md5sum -c output/*.md5
### Monitor Build
```bash
tail -f /tmp/knel-iso-build.log
./run.sh monitor # Monitor build progress (checks every 3 min)
tail -f /tmp/knel-iso-build.log # Or watch the log directly
```
### Clean Up