From 5cfe6595cd9ab9ac3c28f9f1a1efea68fbdeb587 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 22 Feb 2026 18:59:02 +0000 Subject: [PATCH] Apply only platform stack in CI (matches old pipeline scope) --- .claude/CLAUDE.md | 2 +- .drone.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 6c8dbb90..f2dbcaf6 100755 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -390,7 +390,7 @@ jellyfin, jellyseerr, tdarr, affine, health, family, openclaw ## CI/CD - Drone CI (`.drone.yml`) for automated deployments -- **Default pipeline**: On push, runs `terragrunt run --all -- apply -auto-approve` across all stacks (installs Terraform 1.5.7 + Terragrunt 0.99.4 in Alpine) +- **Default pipeline**: On push, applies the `platform` stack via `terragrunt apply` (core infrastructure services; installs Terraform 1.5.7 + Terragrunt 0.99.4 in Alpine) - **TLS renewal pipeline**: Cron-triggered, runs `renew2.sh` (certbot + Cloudflare DNS) — no Terraform/Terragrunt needed - **Build CLI pipeline**: Builds Docker image from `cli/Dockerfile` (unchanged) - **ALWAYS add `[ci skip]` to commit messages** when you've already run `terraform apply` to avoid triggering CI redundantly diff --git a/.drone.yml b/.drone.yml index 388ea4b5..4cec9934 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,8 +29,8 @@ steps: # Install Terragrunt - "wget -O /usr/local/bin/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/v0.99.4/terragrunt_linux_amd64" - "chmod 755 /usr/local/bin/terragrunt" - # Apply all stacks (--queue-ignore-errors: infra stack fails in CI due to no SSH to Proxmox, but other stacks should still run) - - "cd stacks && terragrunt run --all --non-interactive --queue-ignore-errors -- apply -auto-approve" + # Apply platform stack (core infrastructure services - equivalent to old terraform apply -target=module.kubernetes_cluster) + - "cd stacks/platform && terragrunt apply --non-interactive -auto-approve" - name: Push commit image: alpine