mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +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>
15 lines
463 B
Bash
Executable File
15 lines
463 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Resolve the app list and write it to GITHUB_OUTPUT.
|
|
# Inputs via env (forwarded to scripts/meta/resolve/apps.sh):
|
|
# INFINITO_DEPLOY_TYPE — required (server|workstation|universal)
|
|
# INFINITO_WHITELIST — optional space-separated allowlist
|
|
set -euo pipefail
|
|
|
|
apps="$(./scripts/meta/resolve/apps.sh)"
|
|
[[ -n "$apps" ]] || apps='[]'
|
|
|
|
echo "apps=$apps" >>"$GITHUB_OUTPUT"
|
|
echo "apps_json=$apps" >>"$GITHUB_OUTPUT"
|
|
echo "apps_json=$apps"
|