Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(codex): build GitHub MCP for local architecture
Alfredo Lopez3194f8489832
diff --git a/Makefile b/Makefileindex b12e68bc5..0d0ef4aef 100644--- a/Makefile+++ b/Makefile@@ -1472,3 +1472,7 @@ run-platform-security-gates: ## Execute the revised platform security gate runnehelp: ## Show this help@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-24s\033[0m %s\n", $$1, $$2}'++.PHONY: minikube-build-627-github+minikube-build-627-github: ## Build the reviewed GitHub MCP locally for the owned profile architecture+ @bash scripts/minikube/with-t2-mutation-lock.sh -- bash scripts/e2e/build-627-github.shdiff --git a/scripts/e2e/build-627-github.sh b/scripts/e2e/build-627-github.shnew file mode 100644index 000000000..06caa957f--- /dev/null+++ b/scripts/e2e/build-627-github.sh@@ -0,0 +1,28 @@+#!/usr/bin/env bash+set -euo pipefail+root="$(cd "$(dirname "$0")/../.." && pwd -P)"+source_dir="${MCP_COLLECTION_SOURCE_DIR:?Provide the reviewed local MCP collection checkout}"+revision=addf570cfcc8b2270b577f446fdb4c5d9d7b2d28+bash "$root/scripts/minikube/require-t2-mutation-lock.sh"+[[ "$(git -C "$source_dir" rev-parse HEAD)" == "$revision" ]]+[[ -z "$(git -C "$source_dir" status --porcelain)" ]]+docker_endpoint="$(node "$root/scripts/minikube/run-with-deadline.mjs" --timeout-seconds 30 --kill-grace-seconds 5 --label docker-endpoint -- docker context inspect --format '{{.Endpoints.docker.Host}}')"+case "$docker_endpoint" in+ unix:///*) [[ -S "${docker_endpoint#unix://}" ]] ;;+ *) echo 'A verified local Docker Unix socket is required' >&2; exit 1 ;;+esac+task_docker_config="$(mktemp -d)"+trap 'rm -rf -- "$task_docker_config"' EXIT+printf '{"auths":{}}\n' > "$task_docker_config/config.json"+export DOCKER_CONFIG="$task_docker_config" DOCKER_HOST="$docker_endpoint" DOCKER_BUILDKIT=1+unset DOCKER_CONTEXT+image="docker.io/clerum/issue627-github:${revision:0:12}"+# This Dockerfile copies package files and src relative to the connector directory.+# Building in the owned profile selects its native architecture without publication.+cd "$source_dir/mcp-github-clerum"+node "$root/scripts/minikube/run-with-deadline.mjs" \+ --timeout-seconds 900 --kill-grace-seconds 5 --label github-build -- \+ minikube --profile "${MINIKUBE_PROFILE:?}" image build --tag "$image" .+node "$root/scripts/minikube/run-with-deadline.mjs" \+ --timeout-seconds 30 --kill-grace-seconds 5 --label github-verify -- \+ minikube --profile "$MINIKUBE_PROFILE" image ls | grep -Fx "$image"