config: load public cc-ci runtime environment
This commit is contained in:
@@ -323,7 +323,7 @@ def start_agent(role, session, workdir):
|
||||
# absolute repo paths for builder/adversary work.
|
||||
session_cwd = "/srv/cc-ci-orch/cc-ci"
|
||||
cmd = (
|
||||
f"set -a; . /srv/cc-ci/.testenv; set +a; "
|
||||
f"set -a; . /srv/cc-ci/cc-ci-plan/load-env.sh; set +a; "
|
||||
f"NO_COLOR=1 {OPENCODE_BIN} attach {OPENCODE_SERVER} --dir {session_cwd}"
|
||||
)
|
||||
log(f"starting {session} (backend=opencode, phase={pid}, model={model or 'default'})")
|
||||
|
||||
Reference in New Issue
Block a user