feat(builder): research, build and a worker for the AI builder on our own hardware
- research: searches SearXNG, reads the best pages through the reader, has the model list the server's variants, then checks every Docker image and Steam app it named for real before an admin sees it. - build: first boot of the variant's images (skipping ones that need root), a draft by the model, then the draft deployed with the node-agent's BootTest like CI does; crashes, error lines and saves outside /server go back to the model, three boots at most. - worker: polls the panel's builder queue (outbound only), runs research or build in a fresh clone, streams the output as the job log, and opens the result as a pull request from gbr-bot. - Dockerfile.builder, a workflow publishing gbr-builder:latest, compose and env files for the builder VM, and BUILDER.md. draft now keeps its conversation in a drafter, so build can send boot failures back to the same model session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
05bfc9b061
commit
dcb07cfed7
13 files changed
+1568
-94
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# Copy to /opt/gbr-builder/.env and fill in. Never commit the real file.
|
||||
|
||||
# The panel the worker takes jobs from, and the token both sides share (panel env BUILDER_TOKEN)
|
||||
PANEL_URL=https://api.gbrhosting.com
|
||||
BUILDER_TOKEN=
|
||||
|
||||
# The gbr-bot account's token (repository read/write on gbreed-public/gbr-games): pushes draft branches, opens PRs
|
||||
GITEA_TOKEN=
|
||||
|
||||
# The model on the 3090, and the search + page reader the research step uses
|
||||
OLLAMA_URL=http://192.168.4.30:11434
|
||||
SEARXNG_URL=http://192.168.4.38:8080
|
||||
READER_URL=http://192.168.4.38:3000
|
||||
|
||||
# Optional
|
||||
# MODEL=qwen3.8:27b
|
||||
# MODEL_PROVIDER=ollama # or gemini, with GEMINI_API_KEY
|
||||
# POLL_INTERVAL=20s
|
||||
# WORKER_NAME=gamebuilder
|
||||
Reference in new issue
Block a user