Merge pull request 'fix: bug: generate_compose() emits unresolved ${PROJECT_NAME} in PROJECT_REPO_ROOT (#518)' (#523) from fix/issue-518 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
commit
a4e7dcc5d7
2 changed files with 5 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ check_script review/review-poll.sh
|
|||
check_script planner/planner-run.sh lib/formula-session.sh
|
||||
check_script supervisor/supervisor-poll.sh
|
||||
check_script supervisor/update-prompt.sh
|
||||
check_script supervisor/supervisor-run.sh
|
||||
check_script supervisor/supervisor-run.sh lib/formula-session.sh
|
||||
check_script supervisor/preflight.sh
|
||||
check_script predictor/predictor-run.sh
|
||||
check_script architect/architect-run.sh
|
||||
|
|
|
|||
|
|
@ -241,6 +241,10 @@ networks:
|
|||
driver: bridge
|
||||
COMPOSEEOF
|
||||
|
||||
# Patch PROJECT_REPO_ROOT — interpolate PROJECT_NAME at generation time
|
||||
# (Docker Compose cannot resolve it; it's a shell variable, not a .env var)
|
||||
sed -i "s|\${PROJECT_NAME:-project}|${PROJECT_NAME}|g" "$compose_file"
|
||||
|
||||
# Patch the Claude CLI binary path — resolve from host PATH at init time.
|
||||
local claude_bin
|
||||
claude_bin="$(command -v claude 2>/dev/null || true)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue