Commit Graph
30 Commits
Author SHA1 Message Date
aiongg f9ca82f460 Bind author logins to account ids for existing history, route the remaining views through the visible-repo allow-list, and tighten link, path and reply parsing 2026-11-11 13:18:40 +00:00
aiongg 3ceb8f0504 Worker hardening: artifact uploads re-check the task after the body, plain-http coordinators must not be single-label, warm keys are one-to-one, pinned worker SSH host keys, formatter refuses symlinked paths, deploy skips install scripts 2026-11-11 12:52:31 +00:00
aiongg f9c7520b0e Nightly, part B: toolchain image Containerfiles, nightly API and live topic, Nightly report page with grid, benchmark sparklines and selection 2026-11-09 14:45:37 +00:00
aiongg 72b1a4edfa One instance-wide GitHub identity (box account or GitHub App) replaces the per-repo identity and the login-app variable; app keys are read again when the keys file changes 2026-11-08 20:56:53 +00:00
aiongg 186676a708 Container image: add the shell and core utilities the scripts and spawned programs need; /data owned by the app user; stricter rootfs self-test 2026-11-08 00:45:01 +00:00
aiongg 0b155846f7 Merge GitHub main: hardened container image and image publishing 2026-11-08 00:33:13 +00:00
aiongg 4aef9eac62 Backup schedule from the newest snapshot, job log carry-over, local environments disabled at cut-over, account directories by id, disk sizing and runner hardening 2026-11-08 00:29:59 +00:00
aiongg 554398d7b6 Add a Docker Compose stack and a VPS runbook; list the files and settings a systemd install keeps 2026-11-08 00:19:12 +00:00
Dylan M. Taylor c7912fe402 Drop volatile paths before the rootfs is copied into the runtime base
Debian's /var/lock is a symlink, which cannot overwrite the runtime image's
directory during COPY, and apt state has no business in the production layer.
2026-11-07 15:52:09 -05:00
Dylan M. Taylor 73211a2725 Provide gzip for the GitHub CLI archive and /dev/null for the chroot check
The dev image ships neither, so the extraction failed and git's self-test could
not open /dev/null.
2026-11-07 15:49:22 -05:00
Dylan M. Taylor e37245fc0b Install curl for the GitHub CLI fetch and verify the unpacked tool tree
The dev image has no curl, and the dependency closure was lost to apt-cache's
indented output. Flatten it, download every package, and chroot the result so a
missing library fails the build instead of the container.
2026-11-07 15:46:30 -05:00
Dylan M. Taylor b4313ae395 Build on Docker Hardened Images with a runtime-only production stage
The dev variant of dhi.io/node:26 supplies bash, apt and npm in the build stages;
the production stage is the runtime variant, which has no shell, so the packages
the process needs are unpacked into a rootfs by a tools stage and copied in as
files. Whatever the image runs is now Node plus those exact binaries.
2026-11-07 15:40:04 -05:00
Dylan M. Taylor 777ee88844 Build on a Docker Hardened Image for Node 24
The dev variant is deliberate: the image needs bash for its entrypoint and apt to
install git, gh, bubblewrap and sqlite3 for the pipeline, which the runtime
variant does not carry. CI now logs in to dhi.io to pull the base.
2026-11-07 15:37:35 -05:00
aiongg 820f3b2c57 Fix migration and deployment docs after review 2026-11-05 17:38:02 +00:00
aiongg 53eb8c5ab5 Add build-push script for the container image 2026-11-05 17:16:44 +00:00
aiongg 52f726cfb8 Container review fixes: stale lock of a reused pid, gh in the image, source commit, stop handling; Kubernetes manifest 2026-11-05 15:44:50 +00:00
aiongg 5bc99fb813 Container image for the dashboard and runner; health endpoints, bounded runner stop, container docs 2026-11-05 15:30:53 +00:00
aiongg 36ba1a87bc Deploy restarts the runner only when its code changed; the runner's release is kept while it runs 2026-11-04 18:39:55 +00:00
aiongg 4dd4d93800 Rename remaining craft-auto names to autocraft (command, env vars, paths, key label) 2026-11-03 16:48:10 +00:00
aiongg 096b295d15 Defer sandbox worker updates until its tasks finish 2026-11-03 05:12:37 +00:00
aiongg 58f20bddaa Deploy hook: a redeploy of the live commit reuses its release; pruning with no old releases succeeds; warn when a sync run outlasts the wait 2026-11-03 03:11:41 +00:00
aiongg 8fd8fd4988 Merge branch 'prod-deploy' into claude-accounts 2026-11-03 03:04:20 +00:00
aiongg 9925092fba Claude accounts page: add, sign in with a code, status, usage without tokens, sign out 2026-11-03 03:03:04 +00:00
aiongg 16e1356e8a Deploy into releases with an atomic symlink switch; snapshot and pause sync first; units load the settings as the app user; checks after restart; commit from .source-commit; pin pnpm 2026-11-03 03:01:39 +00:00
aiongg ba4677d406 Runner unit: drop NoNewPrivileges so bwrap can create user namespaces 2026-11-03 02:51:00 +00:00
aiongg 356c11d1f6 Install settings: caches under one directory, no claude autoupdate; hook builds without restarting before the first database exists 2026-11-03 02:48:29 +00:00
aiongg 3f0fad8b0c Production install: post-receive bootstrap, deploy hook, push helper, backup script, system units and settings template 2026-11-03 02:46:20 +00:00
aiongg 077e41b34e Worker unit: no NoNewPrivileges/PrivateTmp, they break rootless Podman 2026-11-02 22:43:15 +00:00
aiongg fc832fd980 Build worker: craft-auto worker serve, container executor, safe tar extraction, Rust plan, systemd unit 2026-11-02 21:01:17 +00:00
aiongg 4c9818cf01 Pipeline page, unit template and docs for the runner 2026-11-02 19:16:49 +00:00