Add SKIP_K3S escape hatch for dev CI smoke test
Dev — Build & local smoke test / build-smoke (pull_request) Failing after 2m21s
Dev — Build & local smoke test / build-smoke (pull_request) Failing after 2m21s
k3s requires kernel capabilities (overlayfs) that aren't available in the CI runner's unprivileged Docker environment. Entrypoint now checks SKIP_K3S=1 and starts neuron-web directly, bypassing k3s and soul-demo. Dev CI smoke test sets this flag — prod images are unaffected.
This commit is contained in:
@@ -186,6 +186,7 @@ jobs:
|
||||
-e PORT=8080 \
|
||||
-e NODE_ENV=production \
|
||||
-e LANDING_ROOT=/srv/landing \
|
||||
-e SKIP_K3S=1 \
|
||||
"$IMAGE"
|
||||
|
||||
for i in $(seq 1 15); do
|
||||
|
||||
Vendored
+8
@@ -1,6 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# SKIP_K3S=1 — bypass k3s/soul-demo startup and go straight to neuron-web.
|
||||
# Used by the dev CI smoke test where the container runtime doesn't support
|
||||
# the kernel capabilities k3s requires (overlayfs / privileged mode).
|
||||
if [ "${SKIP_K3S:-0}" = "1" ]; then
|
||||
echo "[entrypoint] SKIP_K3S=1: starting neuron-web directly (no k3s/soul-demo)."
|
||||
exec /usr/local/bin/neuron-web
|
||||
fi
|
||||
|
||||
echo "[entrypoint] Starting k3s server (embedded soul-demo orchestrator)..."
|
||||
|
||||
# k3s server — single-node mode, disable unused components
|
||||
|
||||
Reference in New Issue
Block a user