Merge pull request 'fix: fix: lib/env.sh crashes with USER unbound variable in agent container (#229)' (#230) from fix/issue-229 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
562c6ad0bf
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ PROJECT_REPO_ROOT=/home/agent/repos/${pname}
|
||||||
|
|
||||||
log "Agent container starting"
|
log "Agent container starting"
|
||||||
|
|
||||||
|
# Set USER for scripts that source lib/env.sh (e.g., OPS_REPO_ROOT default)
|
||||||
|
export USER=agent
|
||||||
|
|
||||||
# Verify Claude CLI is available (expected via volume mount from host).
|
# Verify Claude CLI is available (expected via volume mount from host).
|
||||||
if ! command -v claude &>/dev/null; then
|
if ! command -v claude &>/dev/null; then
|
||||||
log "FATAL: claude CLI not found in PATH."
|
log "FATAL: claude CLI not found in PATH."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue