claude-memory/graph/workflows/deploy-major-domo-with-feature-branch-workflow-and-docker-bu-a88203.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

2.2 KiB

id type title tags importance confidence created updated relations
a8820359-c25c-41af-bbfd-a991a7b9b806 workflow Deploy Major Domo with feature branch workflow and Docker BuildKit workaround
major-domo
deployment
workflow
docker
git
production
0.6 0.8 2026-02-02T03:19:27.967729+00:00 2026-02-02T03:19:27.967729+00:00
target type direction strength
69415fc4-08c7-497a-b1ef-2f135c6400f2 FOLLOWS outgoing 0.5

Workflow: Successfully deployed dem_week feature to production using feature branch pattern.

Branch Strategy:

  1. Create feature branch: 'git checkout -b feature/add-dem-week-to-player-updates'
  2. Implement changes and tests
  3. Commit to feature branch
  4. Push feature branch to remote
  5. Merge to main: 'git checkout main && git merge feature/add-dem-week-to-player-updates --no-ff'
  6. Push main: 'git push origin main'
  7. Deploy using skill: '~/.claude/skills/deploy/deploy.sh md-discord minor'

Docker BuildKit Issue:

  • Problem: In SSH sessions, BuildKit prompts for GPG credentials which blocks deployment
  • Solution: Set DOCKER_BUILDKIT=0 to use legacy builder
  • Command: 'DOCKER_BUILDKIT=0 bash -c "echo y | ~/.claude/skills/deploy/deploy.sh md-discord minor"'
  • Auto-confirmation: Echo 'y' to stdin to skip interactive prompts

Version Bump Strategy:

  • Feature implementation: Use 'minor' (2.28.3 → 2.29.0)
  • Bug fixes: Use 'patch' (2.29.0 → 2.29.1)
  • Breaking changes: Use 'major' (2.x.x → 3.0.0)

Deployment Script Actions:

  1. Check git status and update VERSION file
  2. Build Docker image with version and 'latest' tags
  3. Push to Docker Hub (manticorum67/major-domo-discordapp)
  4. SSH to production server (akamai)
  5. Pull new image and restart container
  6. Commit VERSION bump and create git tag
  7. Verify container health

Production Server:

  • Host: akamai (10.10.0.120)
  • Path: /root/container-data/major-domo
  • Container: major-domo-discord-app-1
  • Service: discord-app (in docker-compose.yml)

Monitoring:

  • Check logs: 'ssh akamai "docker logs major-domo-discord-app-1 --tail 50"'
  • Check status: 'ssh akamai "docker ps | grep major-domo-discord"'
  • Verify health: Container shows '(healthy)' status