Use --queue-ignore-errors for CI (infra stack needs Proxmox SSH)
This commit is contained in:
parent
2547a155ed
commit
9415823ab8
2 changed files with 2 additions and 5 deletions
|
|
@ -29,8 +29,8 @@ steps:
|
||||||
# Install Terragrunt
|
# Install Terragrunt
|
||||||
- "wget -O /usr/local/bin/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/v0.99.4/terragrunt_linux_amd64"
|
- "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"
|
- "chmod 755 /usr/local/bin/terragrunt"
|
||||||
# Apply all stacks (infra stack auto-skips in CI via terragrunt skip directive)
|
# 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 -- apply -auto-approve"
|
- "cd stacks && terragrunt run --all --non-interactive --queue-ignore-errors -- apply -auto-approve"
|
||||||
|
|
||||||
- name: Push commit
|
- name: Push commit
|
||||||
image: alpine
|
image: alpine
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,6 @@ include "root" {
|
||||||
path = find_in_parent_folders()
|
path = find_in_parent_folders()
|
||||||
}
|
}
|
||||||
|
|
||||||
# Skip in CI - infra stack manages Proxmox VMs which require SSH to the hypervisor
|
|
||||||
skip = get_env("CI", "") != ""
|
|
||||||
|
|
||||||
# Override provider generation to include proxmox (instead of k8s providers)
|
# Override provider generation to include proxmox (instead of k8s providers)
|
||||||
generate "providers" {
|
generate "providers" {
|
||||||
path = "providers.tf"
|
path = "providers.tf"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue