Apply only platform stack in CI (matches old pipeline scope)
This commit is contained in:
parent
9415823ab8
commit
5cfe6595cd
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue