スキル一覧に戻る
baglett

deploy

by baglett

0🍴 0📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: deploy description: Deploy Claude Assistant Platform to Orange Pi via Jenkins. Use when deploying to production, triggering a build, releasing, or when user says "deploy", "push to prod", "release", "ship it", or "deploy to orange pi". allowed-tools: Read, Bash(curl:), Bash(git:), Grep

Deploy to Orange Pi

This skill handles deployment of the Claude Assistant Platform to the Orange Pi production server.

Quick Deploy

Trigger Jenkins pipeline:

curl -X POST "http://192.168.50.35:8080/job/claude-assistant-platform/build" \
  --user "$JENKINS_USER:$JENKINS_TOKEN"

Pre-Deployment Checklist

Before deploying, verify:

  • All tests pass locally (uv run pytest)
  • No uncommitted changes (git status)
  • Current branch is main or PR is merged
  • No breaking changes without migration plan

Deployment Process

1. Verify Local State

# Check for uncommitted changes
git status

# Verify on correct branch
git branch --show-current

# Ensure up to date with remote
git fetch origin main
git log HEAD..origin/main --oneline

2. Trigger Jenkins Build

The Jenkins pipeline will:

  1. Build all 7 Docker images in parallel (ARM64)
  2. Push images to registry at 192.168.50.35:5000
  3. Stop existing containers
  4. Start new containers in order (MCP servers → Backend → Frontend)
  5. Run health checks

3. Monitor Progress

  • Jenkins UI: http://192.168.50.35:8080
  • Build Log: Use Jenkins MCP getBuildLog tool
  • Console Output: Watch for stage completion

4. Verify Deployment

After Jenkins reports success, verify services:

# Check all health endpoints
for port in 8000 8081 8082 8083 8084 8085 3000; do
  echo "Port $port: $(curl -s http://192.168.50.35:$port/health 2>/dev/null | jq -r '.status // "FAILED"')"
done

Service URLs

Rollback

If deployment fails, see ROLLBACK.md for rollback procedures.

Health Checks

See HEALTH-CHECKS.md for detailed health check commands.

Troubleshooting

IssueSolution
Jenkins build failsCheck build log for specific stage failure
Container won't startCheck container logs: docker logs <container>
Health check failsVerify environment variables are set
MCP not respondingCheck Docker network connectivity
OAuth errorsRe-authenticate via /auth/url endpoint

Reference

  • Jenkinsfile - Pipeline definition
  • DOCUMENTATION/DEPLOYMENT.md - Full deployment reference
  • .claude/rules/infrastructure/orange-pi.md - ARM64 requirements

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です