Rename mesh-control -> mesh-controller, substrate -> foundation
One name per thing, per the HQ glossary: the module/container/image/binary/repo becomes mesh-controller, the seat the-controller, and the store+broker pair the foundation (embedded base bundles, default template and example lock renamed with their go:embed directives). No behaviour change — a pure vocabulary rename. Claude-Session: https://claude.ai/code/session_01D6qtiYU3P9jk3pnAXyAFyx
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build the route-proxy module's runtime image: the reference reverse proxy (novox/hq
|
||||
# 08-connectivity §3), compiled from its canonical Go source in mesh-control into a container the
|
||||
# 08-connectivity §3), compiled from its canonical Go source in mesh-controller into a container the
|
||||
# lab can stock and serve by digest.
|
||||
#
|
||||
# Unlike the TypeScript modules (built by build-module-runtime.sh into a node tool runtime), the
|
||||
# proxy is a Go program. The module ships only the packaging — a Dockerfile in mesh-catalog whose
|
||||
# build context is the mesh-control repository root — and this script runs that build into the local
|
||||
# build context is the mesh-controller repository root — and this script runs that build into the local
|
||||
# docker daemon, which a scenario's registry then stocks and serves by digest.
|
||||
#
|
||||
# build-route-proxy-image.sh
|
||||
@@ -13,7 +13,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
HERE="$(cd "$(dirname "$0")/.." && pwd)"; ROOT="$(cd "$HERE/.." && pwd)"
|
||||
MESH_CONTROL="${MESH_CONTROL:-$ROOT/mesh-control}"
|
||||
MESH_CONTROL="${MESH_CONTROL:-$ROOT/mesh-controller}"
|
||||
MESH_CATALOG="${MESH_CATALOG:-$ROOT/mesh-catalog}"
|
||||
TAG="${ROUTE_PROXY_TAG:-mesh-route-proxy:development}"
|
||||
DOCKERFILE="$MESH_CATALOG/modules/route-proxy/Dockerfile"
|
||||
@@ -22,7 +22,7 @@ DOCKERFILE="$MESH_CATALOG/modules/route-proxy/Dockerfile"
|
||||
[ -f "$MESH_CONTROL/examples/route-proxy/main.go" ] || {
|
||||
echo "no proxy source at $MESH_CONTROL/examples/route-proxy" >&2; exit 1; }
|
||||
|
||||
# Context is the mesh-control repository root: the proxy compiles against that module's go.mod and
|
||||
# Context is the mesh-controller repository root: the proxy compiles against that module's go.mod and
|
||||
# its examples/route-proxy package.
|
||||
docker build -f "$DOCKERFILE" -t "$TAG" "$MESH_CONTROL"
|
||||
echo "built $TAG (from $MESH_CONTROL/examples/route-proxy)"
|
||||
|
||||
Reference in New Issue
Block a user