ddbb568f1d
soul-demo now runs as a k3s Deployment with HPA (1–8 replicas, 60% CPU target) instead of a bare background process. k3s starts first in entrypoint.sh, imports the soul-demo:local OCI tar from /var/lib/rancher/k3s/agent/images, and auto-applies the Deployment, NodePort Service, and HPA from the server/manifests dir. neuron-web starts only after the soul-demo pod is Running. Cloud Run gen2 execution environment required for k3s (provides /dev/kmsg and Linux capabilities).
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
.env
|
|
# Build output dir. Hand-written sources under dist/ are explicitly
|
|
# un-ignored at the bottom of this file - those must travel with the
|
|
# repo so future builds can re-produce a working image.
|
|
dist/*
|
|
.el/
|
|
src/*.elc
|
|
src/*.elh
|
|
src/*.html
|
|
src/*.map.json
|
|
|
|
# Compiled client-side JS (generated by elc --target=js at build time).
|
|
# The El sources live in src/js/; the compiled output is never committed.
|
|
dist/js/
|
|
|
|
# El JS runtime staged temporarily during build (auto-cleaned by build-stage.sh).
|
|
src/js/el_runtime.js
|
|
|
|
# Old extracted JS assets (replaced by elc-compiled dist/js/).
|
|
src/assets/js/
|
|
|
|
# Track hand-written source under dist/ that is NOT generated by elc.
|
|
# These are the C stub shims and entry scripts the Dockerfile.stage COPYs
|
|
# into the image; without these the build cannot produce a working
|
|
# binary. Generated artifacts (main.c, main-combined.el, binaries) stay
|
|
# ignored.
|
|
!dist/web_stubs.c
|
|
!dist/vessel_stubs.c
|
|
!dist/soul-demo.c
|
|
!dist/page_close.c
|
|
!dist/elhtml_impl.c
|
|
!dist/entrypoint.sh
|
|
!dist/engram-snapshot.json
|
|
!dist/Dockerfile.soul-demo
|
|
!dist/k3s-soul-demo.yaml
|
|
|
|
# Build artifacts produced by the soul-demo packaging step in build-stage.sh
|
|
dist/soul-demo
|
|
dist/soul-demo-snapshot.json
|
|
dist/soul-demo-image.tar
|