fix(opentofu): set storage to local-zfs for woodpecker agents
Security Audit / Infrastructure Scan (IaC) (push) Successful in 21s
Security Audit / Docker Image Scan (docker.io/apache/tika:latest) (push) Failing after 1m54s
Security Audit / Docker Image Scan (docker.io/gotenberg/gotenberg:8) (push) Failing after 2m31s
Security Audit / Docker Image Scan (docker.io/library/postgres:15) (push) Failing after 32s
Security Audit / Docker Image Scan (docker.io/library/redis:7) (push) Failing after 22s
Security Audit / Docker Image Scan (ghcr.io/icereed/paperless-gpt:latest) (push) Failing after 29s
Security Audit / Docker Image Scan (ghcr.io/paperless-ngx/paperless-ngx:latest) (push) Failing after 2m22s
Security Audit / Docker Image Scan (shenxn/protonmail-bridge:latest) (push) Successful in 33s
Deploy Infrastructure / plan (push) Successful in 15m59s
Deploy Infrastructure / apply (push) Successful in 59s
Deploy Infrastructure / integration-tests (push) Successful in 13s
Security Audit / Infrastructure Scan (IaC) (push) Successful in 21s
Security Audit / Docker Image Scan (docker.io/apache/tika:latest) (push) Failing after 1m54s
Security Audit / Docker Image Scan (docker.io/gotenberg/gotenberg:8) (push) Failing after 2m31s
Security Audit / Docker Image Scan (docker.io/library/postgres:15) (push) Failing after 32s
Security Audit / Docker Image Scan (docker.io/library/redis:7) (push) Failing after 22s
Security Audit / Docker Image Scan (ghcr.io/icereed/paperless-gpt:latest) (push) Failing after 29s
Security Audit / Docker Image Scan (ghcr.io/paperless-ngx/paperless-ngx:latest) (push) Failing after 2m22s
Security Audit / Docker Image Scan (shenxn/protonmail-bridge:latest) (push) Successful in 33s
Deploy Infrastructure / plan (push) Successful in 15m59s
Deploy Infrastructure / apply (push) Successful in 59s
Deploy Infrastructure / integration-tests (push) Successful in 13s
Empty storage string caused Proxmox API 400 error. Server LXC 231 was created successfully, only agents 910/911 need this fix.
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ locals {
|
||||
tags = "woodpecker;ci;docker"
|
||||
bridge = "v40srv"
|
||||
disk_size = "30G"
|
||||
storage = ""
|
||||
storage = "local-zfs"
|
||||
nesting = true
|
||||
ostemplate = "local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst"
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ module "woodpecker_agents" {
|
||||
unprivileged = true
|
||||
tags = join(",", compact([each.value.tags, "transient"]))
|
||||
ostemplate = each.value.ostemplate
|
||||
storage = lookup(each.value, "storage", "local-zfs")
|
||||
storage = each.value.storage != "" ? each.value.storage : "local-zfs"
|
||||
disk_size = each.value.disk_size
|
||||
|
||||
ssh_public_keys = local.common_ssh_keys
|
||||
|
||||
Reference in New Issue
Block a user