Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions infra/scripts/deploy/java-on-amazon-eks/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ for s in java-on-eks-checklist java-on-eks-optimization; do
[ -f "${ENV_DIR}/.claude/skills/${s}/SKILL.md" ] || fail "skill link ${ENV_DIR}/.claude/skills/${s} missing or broken"
done
command -v claude >/dev/null 2>&1 || [ -x "${HOME}/.local/bin/claude" ] || fail "claude CLI not installed"
# eks-mcp runs through uvx (ide/tools.sh installs uv): the package named in .mcp.json must start.
UVX_BIN="$(command -v uvx || echo "${HOME}/.local/bin/uvx")"
EKS_MCP_PKG="$(jq -r '.mcpServers["eks-mcp"].args[0] // empty' "${ENV_DIR}/.mcp.json" 2>/dev/null)"
if [ -x "${UVX_BIN}" ] && [ -n "${EKS_MCP_PKG}" ] && timeout 120 "${UVX_BIN}" "${EKS_MCP_PKG}" --help >/dev/null 2>&1; then
log_success "eks-mcp starts through uvx (${EKS_MCP_PKG})"
else
fail "eks-mcp does not start: uvx missing at ${UVX_BIN} or ${EKS_MCP_PKG:-the eks-mcp package} not runnable"
fi

# 8. Claude Code answers through Amazon Bedrock. Runs in an empty directory, so no MCP
# servers start and `claude -c` in ~/environment does not resume this session.
Expand Down
2 changes: 1 addition & 1 deletion infra/scripts/ide/tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ install_uv() {
# already on PATH and warmed before the first `claude` session, so eks-mcp connects
# immediately instead of failing on a cold multi-package download.
log_info "Installing uv (uvx) and prewarming eks-mcp-server..."
retry_optional "uv" "curl -LsSf https://astral.sh/uv/install.sh | sh"
retry_optional "uv" "curl -LsSf https://astral.sh/uv/install.sh -o /tmp/uv-install.sh && sh /tmp/uv-install.sh"
export PATH="$HOME/.local/bin:$PATH"
# Make ~/.local/bin persistent for login shells and zsh (.zshrc sources workshop.sh).
grep -q '^export PATH=.*\.local/bin' /etc/profile.d/workshop.sh 2>/dev/null \
Expand Down
Loading