mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-12 05:36:40 +00:00
- Move flow/security/ghcr.md to tools/ghcr/authentication.md - Move flow/security/mirror-cleanup.md to tools/ghcr/cleanup.md - Move flow/security/branch.md to tools/github/branch.md - Move flow/security/repository.md to tools/github/repository.md - Move code/frameworks/ansible.md to tools/ansible.md - Merge code/frameworks/Makefile.md into tools/make.md and extract file rules to artefact/files/makefile.md - Rename tools/makefile.md to tools/make.md - Add .github/workflows/images-mirror-cleanup.yml for manual GHCR cleanup - Apply documentation.md standards: emojis on headlines, no em dashes, filename link text - Fix all cross-references broken by directory restructuring Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.9 KiB
1.9 KiB
Local Deploy Scripts
This is the SPOT for executable local deploy flows under scripts/tests/deploy/local/deploy/.
For other local helpers, use ../README.md. For the canonical Make target index that invokes these helpers, see make.md.
Prerequisites
- Run commands from the repository root.
- Docker and Docker Compose are available locally.
jqis installed for the app-discovery step infresh-kept-all.sh.- If you run scripts directly, load the defaults with
source scripts/meta/env/all.sh.
Naming
freshmeans the flow creates or refreshes the inventory first.reusemeans the flow uses an already existing inventory.keptmeans the stack and app state stay in place.purgedmeans the flow removes the app or stack state before redeploying.appsmeans one or more applications,allmeans every discovered application.
Entry Points
| Entry point | What it does | Key inputs | Notes |
|---|---|---|---|
fresh-kept-all.sh |
Discovers apps, creates devices.yml, and deploys all discovered apps. |
INFINITO_DISTRO, TEST_DEPLOY_TYPE, INVENTORY_DIR |
Fresh all-app inventory path. |
reuse-kept-all.sh |
Deploys every app from an existing inventory. | INFINITO_DISTRO, TEST_DEPLOY_TYPE, INVENTORY_DIR |
Requires ${INVENTORY_DIR}/devices.yml and .password. |
fresh-kept-app.sh <app-id> |
Creates devices.yml for one or more apps and deploys them. |
APPS=<app-id> |
Init and deploy path for a specific app set. |
reuse-kept-app.sh |
Runs a targeted infinito deploy dedicated for one or more apps. |
APPS, TEST_DEPLOY_TYPE, INFINITO_CONTAINER, DEBUG, INVENTORY_DIR |
Reuses devices.yml. |
fresh-purged-app.sh |
Recreates devices.yml and deploys one or more apps twice with ASYNC_ENABLED=false and ASYNC_ENABLED=true. |
INFINITO_DISTRO, INVENTORY_DIR, TEST_DEPLOY_TYPE, APPS |
Baseline and recovery path. |