mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Step 08 (`deploy-fresh-purged-apps … FULL_CYCLE=true`) iterates matomo's
two variants and skips the final inter-round purge, so the host ends on
variant 1 (mariadb.shared=false → embedded `database` service). The
previous pin to VARIANT=0 forced a variant flip (shared=true) on a host
still wired for variant 1, which left the freshly-rendered matomo
compose.yml referencing `database` without an image and tripped the
`compose config --quiet` validation handler with:
service "database" has neither an image nor a build context specified:
invalid compose project
Pinning the reuse pass to VARIANT=1 redeploys onto the same variant the
matrix last left running, which is the intended `reuse of existing
state` semantic from variants.md ("the last state remains available for
inspection or follow-up specs").
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Environment Test Suite
This directory contains the modular environment test suite for Infinito.Nexus. It validates the full local development flow from a clean state.
The entry point is 00_orchestrator.sh.
Structure
| File | Purpose |
|---|---|
| 00_orchestrator.sh | Runs all numbered steps in order |
| 01_install.sh | Installs package prerequisites and repository dependencies |
| 02_system.sh | Shows disk usage and purges cached state |
| 03_build.sh | Builds the local Docker image |
| 04_bootstrap.sh | Bootstraps the development environment and starts the stack |
| 05_commit.sh | Validates pre-commit hook enforcement and --no-verify bypass |
| 06_test.sh | Runs the full validation suite |
| 07_deploy_minimal.sh | Deploys on minimal hardware with service exclusion |
| 08_deploy_performance.sh | Deploys the full application set on performance hardware |
| 09_deploy_reuse.sh | Redeploys reusing existing inventory and packages |
| 10_teardown.sh | Shuts down the stack and reverses environment changes |
| utils/common.sh | Shared bootstrap, constants, and generic helpers (HTTP assertion, inventory inspection) |
| utils/cache.sh | Cache-stack assertions and probes (registry-cache, package-cache, DiD inner-build) |
Usage
Run the full suite via the entry point:
bash scripts/tests/environment/00_orchestrator.sh
For documentation on the overall development workflow, see the Deploy Guide.