5 Commits

Author SHA1 Message Date
joakimp 8ab0f9c760 smoke-test: docker exec -u developer for runtime deployment checks
Publish Docker Image / smoke (push) Successful in 5m22s
Publish Docker Image / publish (push) Failing after 10m40s
Publish Docker Image / update-description (push) Has been skipped
Without -u, docker exec runs as root and $HOME expands to /root, so
the test looks for ~/.pi/agent/keybindings.json under /root instead
of /home/developer. install.sh actually deploys correctly — the test
was just probing the wrong home directory.

Match opencode-devbox/scripts/smoke-test.sh's pattern.
v0.74.0
2026-05-15 01:01:54 +02:00
joakimp 5a6721819b Dockerfile: retry git clone on transient gitea HTTP 500s
Publish Docker Image / smoke (push) Failing after 2m21s
Publish Docker Image / publish (push) Has been skipped
Publish Docker Image / update-description (push) Has been skipped
gitea.jordbo.se occasionally returns Internal Server Error (HTTP 500)
on the first request after idle, breaking pi-toolkit/pi-extensions
clone during build. Wrap clones in a 5-attempt retry with linear
backoff (5s, 10s, 15s, 20s, 25s = up to ~75s total). Same fix should
be applied to opencode-devbox/Dockerfile.variant.
2026-05-15 00:55:58 +02:00
joakimp aa3f4b7b90 smoke-test: keep baked entrypoint when probing runtime deployment
Publish Docker Image / smoke (push) Failing after 1m17s
Publish Docker Image / publish (push) Has been skipped
Publish Docker Image / update-description (push) Has been skipped
The previous `docker run -d --entrypoint="" ... sleep 60` bypassed the
entrypoint chain entirely, so entrypoint-user.sh never ran, so
pi-toolkit/install.sh never deployed keybindings + extensions to
~/.pi/agent/. Result: 4/14 smoke checks always failed.

Match opencode-devbox's pattern: `docker run -d --rm "$IMAGE" tail -f
/dev/null` keeps the entrypoint chain intact and overrides only CMD.
2026-05-15 00:52:14 +02:00
joakimp 9302b3ebb9 smoke-test: replace ((VAR++)) with VAR=$((VAR+1)) to avoid set -e exit
Publish Docker Image / smoke (push) Failing after 4m31s
Publish Docker Image / publish (push) Has been skipped
Publish Docker Image / update-description (push) Has been skipped
((VAR++)) returns the OLD value, so when PASS=0 the first  check
caused exit code 1, killing the script under set -e. Use VAR=$((VAR+1))
which always returns 0. Same pattern as opencode-devbox's smoke-test.
2026-05-15 00:40:28 +02:00
joakimp 7b634605b7 Initial commit: pi-devbox v0.74.0
Publish Docker Image / smoke (push) Failing after 27s
Publish Docker Image / publish (push) Has been skipped
Publish Docker Image / update-description (push) Has been skipped
pi coding-agent container built on opencode-devbox:base-latest.
Includes Dockerfile, docker-compose, CI workflow, smoke-test,
README, CHANGELOG, AGENTS.md.
2026-05-14 19:57:17 +02:00