mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-12 21:56:21 +00:00
Replace the seven separate deploy-* make targets with a single `make deploy` recipe that maps short Make variables to the canonical INFINITO_* environment variables and dispatches via the new scripts/tests/deploy/local/deploy/main.sh router. main.sh and all sub-scripts continue to read the long-form names, so Ansible passthrough and container forwarding stay unchanged. Short Make CLI now exposes apps, mode, purge, type, bundles, disabled, and full_cycle as aliases. The router picks the verb folder (initialize, reinstall, update) and scope (all, selection) based on the chosen mode plus the presence of INFINITO_APPS or INFINITO_BUNDLES. Also folds in the global INFINITO_TEST_DEPLOY_TYPE -> INFINITO_DEPLOY_TYPE rename across default.env, passthrough handler, dotenv test, CI deploy workflows, discovery scripts, and the server stage task. Active contributor and agent-iteration docs, role-level Administration and README files, the bundles README, and the deploy reset helper are all retargeted to the new short CLI. docs/requirements/ entries stay untouched as historical audit logs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
16 lines
674 B
Markdown
16 lines
674 B
Markdown
# Local Inventory Reset
|
|
|
|
This directory holds the inventory refresh helpers under `scripts/tests/deploy/local/reset/`.
|
|
For other local helpers, use [../README.md](../README.md).
|
|
For the canonical Make target index that invokes these helpers, see [make.md](../../../../../docs/contributing/tools/make.md).
|
|
|
|
## Entry Points
|
|
|
|
| Entry point | What it does | Key inputs | Notes |
|
|
|---|---|---|---|
|
|
| `inventory.sh` | Recreates `devices.yml` for all discovered apps without deploying them. | `INFINITO_DISTRO`, `INFINITO_DEPLOY_TYPE`, `INFINITO_INVENTORY_DIR` | Rebuilds the local inventory and keeps the runtime `.password` file. |
|
|
|
|
## Script Map
|
|
|
|
- [inventory.sh](inventory.sh)
|