Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
891 B
Raw Blame
#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

if (($# > 0)); then
  echo "1st-party AuthN, 3rd-party MCP-Host (recipe sandbox) requires the complete Control UI + Desktop App Playwright route and accepts no optional shortcut flags." >&2
  exit 2
fi

resolved_context="${KUBECONTEXT:-${K8S_CONTEXT:-${E2E_K8S_CONTEXT:-}}}"
if [[ -z "$resolved_context" ]]; then
  cat >&2 <<'MSG'
1st-party AuthN, 3rd-party MCP-Host (recipe sandbox) requires an explicit Kubernetes context.
Set KUBECONTEXT, K8S_CONTEXT, or E2E_K8S_CONTEXT to the branch/commit minikube profile resolved from .local-notes.
This runner intentionally has no shared legacy context fallback.
MSG
  exit 2
fi

export K8S_CONTEXT="$resolved_context"
export E2E_K8S_CONTEXT="${E2E_K8S_CONTEXT:-$K8S_CONTEXT}"

"${SCRIPT_DIR}/playwright-dev.sh" figure-b-sandbox-mcphost-flow.test.ts