From d571e56b056e17e44cc527ca80a1bf0e178d0bd3 Mon Sep 17 00:00:00 2001 From: Bill Ballou Date: Sat, 11 Apr 2026 13:48:18 -0400 Subject: [PATCH] Add deploying updates from merged PRs section Document workflow for pulling and redeploying stacks after merging Renovate bot PRs, including override file handling and verification. --- SKILL.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/SKILL.md b/SKILL.md index 358fb12..2601645 100644 --- a/SKILL.md +++ b/SKILL.md @@ -323,6 +323,48 @@ docker compose -f /docker-compose.yml logs -f docker compose -f /docker-compose.yml down ``` +## Deploying Updates from Merged PRs + +After merging PRs that update image versions (e.g., Renovate bot PRs), deploy the changes to the target host. To review and merge Renovate PRs, use the gitea skill's PR management functions (`gitea_list_renovate_prs`, `gitea_merge_pr`). + +### Pull and Redeploy a Stack + +```bash +# On the target host, pull latest config and redeploy +ssh bill@ "cd /docker/config/ && git pull origin main" + +# Pull new images and restart +ssh bill@ "cd /docker/config/ && \ + docker compose pull && \ + docker compose up -d" + +# For stacks with host-specific overrides: +ssh bill@ "cd /docker/config/ && \ + docker compose -f docker-compose.yml \ + -f environments//docker-compose.override..yml \ + pull && \ + docker compose -f docker-compose.yml \ + -f environments//docker-compose.override..yml \ + up -d" +``` + +### Verify Deployment + +```bash +# Check container is running with new image +ssh bill@ "docker ps --filter name= --format '{{.Image}} {{.Status}}'" + +# Check logs for startup errors +ssh bill@ "docker logs --tail 20 " +``` + +### Host Reference + +| Host | SSH | Stack Path | +|------|-----|------------| +| inkling | `bill@inkling` | `/docker/config//` | +| shellington | `bill@shellington` | `/docker/config//` | + ## Creating a New Project When creating a new Docker Compose project: