ci/woodpecker/push/deploy-infrastructure Pipeline failed
gitea (LXC 114), the woodpecker server (231) and the woodpecker agents (910/911) were migrated into the cluster (Phase 2: Service flipped ExternalName -> ClusterIP, now in-cluster StatefulSets/Deployment; see kubernetes/apps/MIGRATION-gitea-woodpecker.md) and the Proxmox guests decommissioned -- but their OpenTofu declarations were left behind with onboot/start = true. An unscoped `tofu apply` (deploy-infrastructure.yml) would attempt to recreate the retired stack, and backup_jobs.tf still advertised the dead VMIDs as PBS-protected. - delete opentofu/woodpecker_agents.tf, lxc_231_woodpecker.tf, lxc_114_gitea_srv_renner_uno.tf - drop VMIDs 114/231 and the 910.. agent loop from backup_jobs.tf - remove the now-orphaned woodpecker_agents local + woodpecker_agent_count variable (only those files referenced them) - delete the dead .woodpecker/deploy-woodpecker-agent.yml and install-woodpecker-server.yml pipelines (their ansible plays/roles no longer exist) REQUIRES `tofu state rm` of the four module resources BEFORE this merges / any apply runs, otherwise the plan destroy-plans them. See PR body. Refs #199 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
44 lines
984 B
Terraform
44 lines
984 B
Terraform
variable "proxmox_api_url" {
|
|
type = string
|
|
description = "The URL of the Proxmox API (e.g., https://192.168.1.1:8006/api2/json)"
|
|
}
|
|
|
|
variable "proxmox_user" {
|
|
type = string
|
|
description = "The Proxmox user (e.g., root@pam)"
|
|
default = "root@pam"
|
|
}
|
|
|
|
variable "proxmox_token_id" {
|
|
type = string
|
|
description = "The Proxmox API Token ID (e.g., ansible)"
|
|
default = "ansible"
|
|
}
|
|
|
|
variable "proxmox_token_secret" {
|
|
type = string
|
|
description = "The Proxmox API Token Secret"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_tls_insecure" {
|
|
|
|
type = bool
|
|
description = "Whether to disable TLS verification"
|
|
default = false
|
|
}
|
|
|
|
variable "ssh_public_key" {
|
|
description = "Public SSH key to inject into containers"
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "ssh_private_key" {
|
|
description = "SSH private key for Proxmox provider to import disk images"
|
|
type = string
|
|
sensitive = true
|
|
default = ""
|
|
}
|
|
|