feat: Linux/cloud platform stack (TLS, registry, static/cross, selfhost PM)
ci / build (ubuntu) (push) Has been cancelled
ci / macos smoke (push) Has been cancelled
ci / windows smoke (push) Has been cancelled
selfhost-loop / bootstrap determinism (push) Has been cancelled
ci / unit + fmt (push) Has been cancelled
ci / examples (push) Has been cancelled
ci / goldens + tools (push) Has been cancelled
ci / apps (push) Has been cancelled
ci / selfhost smoke (push) Has been cancelled
ci / CI gate (push) Has been cancelled

Ship the QUALITY_PLAN platform focus: thin/minimal runtime, --static/--target,
Nexus HTTPS/mTLS with graceful stop, lock checksums + install --locked,
selfhost registry (search/add/HTTP), containers, and CI smokes for cloud path.
This commit is contained in:
2026-07-23 23:00:55 +03:00
parent a939f74b1b
commit a785747c37
44 changed files with 4318 additions and 279 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
# Build a fully-static hello binary for container / distroless demos (session 75).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
export BUX_STDLIB="${BUX_STDLIB:-$ROOT/lib}"
OUT_DIR="${1:-$ROOT/build}"
mkdir -p "$OUT_DIR"
if [[ ! -x "$ROOT/buxc" ]]; then
(cd "$ROOT" && make build)
fi
PKG=$(mktemp -d)
trap 'rm -rf "$PKG"' EXIT
mkdir -p "$PKG/src"
cp -a "$ROOT/rt" "$PKG/"
cat > "$PKG/bux.toml" <<'EOF'
[Package]
Name = "hello_static"
Version = "0.1.0"
Type = "bin"
[Build]
Output = "Bin"
EOF
cp "$ROOT/examples/hello.bux" "$PKG/src/Main.bux"
"$ROOT/buxc" --quiet --static --release build "$PKG"
cp "$PKG/build/hello_static" "$OUT_DIR/hello_static"
file "$OUT_DIR/hello_static"
echo "wrote $OUT_DIR/hello_static"
echo "docker: docker build -f examples/docker/Dockerfile.static --build-arg BIN=$OUT_DIR/hello_static -t bux-hello-static $ROOT"