mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
Add two local test helpers to run full-stack deployments for all discovered apps: - make test-local-inventory-init-all: bring up dev stack and create inventory (/etc/inventories/local-full-<type>/servers.yml) including all apps - make test-local-run-all: run deploy using the pre-initialized inventory Also mark various scripts as executable (chmod +x) to ensure consistent behavior across environments. https://chatgpt.com/share/6970018e-1244-800f-9345-ca1596061729
14 lines
257 B
Bash
Executable File
14 lines
257 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
: "${PYTHON:?PYTHON not set}"
|
|
|
|
install_python_deps() {
|
|
echo "📦 Installing Python dependencies"
|
|
|
|
"${PYTHON}" -m pip install --upgrade pip setuptools wheel
|
|
"${PYTHON}" -m pip install -e .
|
|
}
|
|
|
|
install_python_deps
|