mega-ci / static-release-gates (push) Failing after 11s
release-tag / release-image (push) Successful in 6m46s
mega-ci / go-quality (services/control) (push) Successful in 10m7s
mega-ci / go-quality (platform/neuroforge) (push) Successful in 10m20s
mega-ci / go-quality (services/agent) (push) Successful in 11m1s
mega-ci / go-quality (services/knowledge) (push) Successful in 11m13s
mega-ci / docker-build (push) Has been skipped
14 lines
516 B
Bash
Executable File
14 lines
516 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
PORT=${CODEBASE_MEMORY_PORT:-9749}
|
|
if ! command -v codebase-memory-mcp >/dev/null 2>&1; then
|
|
echo "codebase-memory-mcp is not installed or not in PATH" >&2
|
|
exit 1
|
|
fi
|
|
export CBM_ALLOWED_ROOT="$ROOT"
|
|
echo "Indexing $ROOT with CBM_ALLOWED_ROOT=$CBM_ALLOWED_ROOT" >&2
|
|
codebase-memory-mcp cli index_repository "{\"repo_path\":\"$ROOT\"}"
|
|
echo "Starting optional Codebase Memory UI on :$PORT" >&2
|
|
exec codebase-memory-mcp --ui=true --port="$PORT"
|