Skip to content

Commit eb0c364

Browse files
committed
test(e2e): seed shared auth from projects root
1 parent 53cbb78 commit eb0c364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/e2e/runtime-volumes-ssh.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ command -v script >/dev/null 2>&1 || fail "missing 'script' command (util-linux)
8181
command -v timeout >/dev/null 2>&1 || fail "missing 'timeout' command"
8282
command -v ssh-keygen >/dev/null 2>&1 || fail "missing 'ssh-keygen' command"
8383

84-
mkdir -p "$ROOT/.docker-git/.orch/auth/codex"
84+
mkdir -p "$ROOT/.orch/auth/codex"
8585
ssh-keygen -q -t ed25519 -N "" -C "docker-git-e2e" -f "$SSH_KEY" >/dev/null
8686
cp "$SSH_PUB_KEY" "$ROOT/authorized_keys"
8787
chmod 0644 "$ROOT/authorized_keys" || true
@@ -91,7 +91,7 @@ dg_write_docker_host_file "$ROOT/authorized_keys" 644 < "$SSH_PUB_KEY"
9191

9292
# Seed a structurally valid auth.json so the shared Codex volume must be created
9393
# and wired into the container runtime.
94-
node <<'NODE' | dg_write_docker_host_file "$ROOT/.docker-git/.orch/auth/codex/auth.json" 600
94+
node <<'NODE' | dg_write_docker_host_file "$ROOT/.orch/auth/codex/auth.json" 600
9595
const now = Math.floor(Date.now() / 1000)
9696
const b64 = (obj) => Buffer.from(JSON.stringify(obj)).toString("base64url")
9797
const jwt = (payload) => `${b64({ alg: "none", typ: "JWT" })}.${b64(payload)}.sig`

0 commit comments

Comments
 (0)