Files
computer-playbook/env/ci.env
T
kevinveenbirkenbachandClaude Opus 4.7 80c396b839 refactor(env+install/spot): collapse python/venv resolution into shell SPOT
Pulls VENV/PYTHON/PIP/PYTHONPATH out of the dotenv handler pipeline
into scripts/meta/python/detect.sh. load.sh now sources detect.sh and
prepends ${VENV}/bin to PATH above the INFINITO_ENV_LOADED guard, so
every BASH_ENV re-entry re-resolves PYTHON the moment a venv
materialises mid-chain — the same fix as b79ed2869 but at the SPOT,
which retires the reload-trick from ansible.sh, python.sh and
pre-commit.sh.

Also renames INVENTORY_VARS_FILE → INFINITO_INVENTORY_VARS_FILE under
the new env-prefix lint, drops the 5 dead INFINITO_ENV_*_LOADED unsets
left over from the multi-loader era, and adds a lint guarding the
INFINITO_ prefix invariant on env/*.env keys.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 00:39:52 +02:00

20 lines
832 B
Bash

# Base env-file consumed by `docker compose --env-file <this-file> ...` # nocheck: self-path-reference
# in CI and local development. `env.development`, if it exists, is
# layered on top and overrides individual keys.
#
# Convention: every key is preceded by a single-line `# ...` comment
# and carries the `INFINITO_` prefix so it cannot collide with
# generic shell or Ansible-role variables of the same short name.
# IPv4 of the CoreDNS sidecar inside INFINITO_SUBNET (services resolve here).
INFINITO_DNS_IP=172.30.0.53
# Top-level project domain rendered into vhost/cert/test fixtures.
INFINITO_DOMAIN=infinito.example
# INFINITO_DOMAIN escaped for inclusion in regex patterns (literal `.`).
INFINITO_DOMAIN_RE=infinito\.example
# IPv4 of the infinito application container inside INFINITO_SUBNET.
INFINITO_IP4=172.30.0.10