mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The per-role existence asserts and the test script path were controller paths evaluated on the remote swarm node (docker connection, node checkout under /opt/infinito-nexus), so every svc-runner swarm job failed on a stat that could never succeed. Assert both required assets in one localhost-delegated loop, stage roles/<app>/files/test onto the node, run the staged script, and delegate the optional defaults/vars probes to the controller (they silently skipped before). svc-runner's test reaches its sources via RUNNER_SRC_DIR (compose: INFINITO_SRC_DIR dev-container mount; swarm: node checkout). The node checkout path itself moves into a single source of truth: INFINITO_NODE_SRC_DIR in default.env, consumed by the bootstrap/copy scripts, the swarm-playwright target, and the swarm inventory extras. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
902 B
Bash
18 lines
902 B
Bash
ASYNC_ENABLED={{ ASYNC_ENABLED | bool | lower }}
|
|
DOCKER_IN_CONTAINER={{ DOCKER_IN_CONTAINER | bool | lower }}
|
|
GITHUB_REPOSITORY={{ lookup('env', 'GITHUB_REPOSITORY') | default('') }}
|
|
GITHUB_REPOSITORY_OWNER={{ lookup('env', 'GITHUB_REPOSITORY_OWNER') | default('') }}
|
|
GITHUB_TOKEN={{ lookup('env', 'GITHUB_TOKEN') | default(lookup('env', 'GH_TOKEN'), true) | default('') }}
|
|
INFINITO_GHCR_MIRROR_PREFIX={{ INFINITO_GHCR_MIRROR_PREFIX | default('') }}
|
|
INFINITO_IMAGE_TAG={{ INFINITO_IMAGE_TAG }}
|
|
RUNNER_COUNT={{ RUNNER_COUNT }}
|
|
RUNNER_DISTRIBUTION={{ RUNNER_DISTRIBUTION }}
|
|
RUNNER_DOCKER_BASE={{ RUNNER_DOCKER_BASE }}
|
|
RUNNER_GITHUB_OWNER={{ RUNNER_GITHUB_OWNER }}
|
|
RUNNER_GITHUB_REPO={{ RUNNER_GITHUB_REPO }}
|
|
RUNNER_GIT_REF={{ RUNNER_GIT_REF }}
|
|
RUNNER_INSTALL_DIR={{ RUNNER_INSTALL_DIR }}
|
|
RUNNER_PROJECT_PREFIX={{ RUNNER_PROJECT_PREFIX }}
|
|
RUNNER_SRC_DIR={{ RUNNER_SRC_DIR }}
|
|
RUNNER_USER={{ RUNNER_USER }}
|