From 4875eb07d91c8c686a1d228901c5c40867719e6c Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Thu, 17 Sep 2026 23:08:32 +0200 Subject: [PATCH 01/17] fix: WPB-28608 update the wire-builds references for 5.33 --- changelog.d/2-wire-builds/release-5.33 | 1 + offline/tasks/proc_pull_charts.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/2-wire-builds/release-5.33 diff --git a/changelog.d/2-wire-builds/release-5.33 b/changelog.d/2-wire-builds/release-5.33 new file mode 100644 index 000000000..0b5bbc185 --- /dev/null +++ b/changelog.d/2-wire-builds/release-5.33 @@ -0,0 +1 @@ +Changed: the wire-builds reference with 5.33 backend \ No newline at end of file diff --git a/offline/tasks/proc_pull_charts.sh b/offline/tasks/proc_pull_charts.sh index 8c0f57d17..be71b53d6 100755 --- a/offline/tasks/proc_pull_charts.sh +++ b/offline/tasks/proc_pull_charts.sh @@ -84,5 +84,5 @@ pull_charts() { } -wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/818524e35d2894f5486c50b9ed9ed967ac099561/build.json" +wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/refs/heads/pinned-offline-5.33.0/build.json" wire_build_chart_release "$wire_build" | pull_charts From 356f432ecec65b40de4ea1be33310a535aeab7d2 Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Fri, 18 Sep 2026 06:17:07 +0200 Subject: [PATCH 02/17] fix: WPB-28608 update changelog message for 5.33 and update artifact hashes for wiab-dev and wiab-staging for 5.33 --- CHANGELOG.md | 6 ++++++ ansible/inventory/demo/host.yml | 2 +- ansible/inventory/demo/wiab-staging.yml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f6b63b03..109c4626a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ ## Breaking changes --> +# Release 5.33 + +## Release notes + +* Changed: the wire-builds reference with 5.33 backend + # Release 5.32 ## Release notes diff --git a/ansible/inventory/demo/host.yml b/ansible/inventory/demo/host.yml index 445c628b8..e4afed384 100644 --- a/ansible/inventory/demo/host.yml +++ b/ansible/inventory/demo/host.yml @@ -18,7 +18,7 @@ wiab: wire_ip: "" # artifact_hash - artifact_hash: "5b01f250e128db689715558bad6b5e532cf4a7a0" + artifact_hash: "4a7c9ee5d6f0cd7bf5ef76b72324b61028176f52" # docker vars docker_ce_version: "5:28.1.1-1~ubuntu.24.04~noble" diff --git a/ansible/inventory/demo/wiab-staging.yml b/ansible/inventory/demo/wiab-staging.yml index 864a245da..d7267b99d 100644 --- a/ansible/inventory/demo/wiab-staging.yml +++ b/ansible/inventory/demo/wiab-staging.yml @@ -6,6 +6,6 @@ wiab-staging: ansible_user: 'demo' ansible_ssh_private_key_file: "~/.ssh/id_ed25519" vars: - artifact_hash: 5b01f250e128db689715558bad6b5e532cf4a7a0 + artifact_hash: 4a7c9ee5d6f0cd7bf5ef76b72324b61028176f52 # when enabled, disable WAN SNAT/masquerading for VMs on the private network private_deployment: true From 3ccfbb8c14afd766eb086001b087c32a5d741a86 Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Sun, 20 Sep 2026 21:30:04 +0200 Subject: [PATCH 03/17] chore: WPB-28608 delete changelog file --- changelog.d/2-wire-builds/release-5.33 | 1 - 1 file changed, 1 deletion(-) delete mode 100644 changelog.d/2-wire-builds/release-5.33 diff --git a/changelog.d/2-wire-builds/release-5.33 b/changelog.d/2-wire-builds/release-5.33 deleted file mode 100644 index 0b5bbc185..000000000 --- a/changelog.d/2-wire-builds/release-5.33 +++ /dev/null @@ -1 +0,0 @@ -Changed: the wire-builds reference with 5.33 backend \ No newline at end of file From 7303050719741080e0acacd585e9db7f2edd5207 Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Fri, 18 Sep 2026 06:31:24 +0200 Subject: [PATCH 04/17] fix: WPB-28608 update the wire-builds references for 5.34 --- offline/tasks/proc_pull_charts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offline/tasks/proc_pull_charts.sh b/offline/tasks/proc_pull_charts.sh index be71b53d6..66bd1626a 100755 --- a/offline/tasks/proc_pull_charts.sh +++ b/offline/tasks/proc_pull_charts.sh @@ -84,5 +84,5 @@ pull_charts() { } -wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/refs/heads/pinned-offline-5.33.0/build.json" +wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/refs/heads/pinned-offline-5.34.0/build.json" wire_build_chart_release "$wire_build" | pull_charts From fdc0afbdf2f7e53e0599af159ed8e140899c0fdd Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Sun, 20 Sep 2026 20:29:33 +0200 Subject: [PATCH 05/17] fix: WPB-28608 add changes log --- CHANGELOG.md | 6 ++++++ changelog.d/2-wire-builds/release-5.34 | 1 + 2 files changed, 7 insertions(+) create mode 100644 changelog.d/2-wire-builds/release-5.34 diff --git a/CHANGELOG.md b/CHANGELOG.md index 109c4626a..db0eb3811 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ ## Breaking changes --> +# Release 5.34 + +## Release notes + +* Changed: the wire-builds reference with 5.34 backend + # Release 5.33 ## Release notes diff --git a/changelog.d/2-wire-builds/release-5.34 b/changelog.d/2-wire-builds/release-5.34 new file mode 100644 index 000000000..6bc5b0254 --- /dev/null +++ b/changelog.d/2-wire-builds/release-5.34 @@ -0,0 +1 @@ +Changed: the wire-builds reference with 5.34 backend \ No newline at end of file From 51945a6bfbdaa836196d2434f3c6448b5bee8aca Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Sun, 20 Sep 2026 20:36:23 +0200 Subject: [PATCH 06/17] fix: WPB-28608 update changelog message for 5.34 and update artifact hashes for wiab-dev and wiab-staging for 5.34 --- ansible/inventory/demo/host.yml | 2 +- ansible/inventory/demo/wiab-staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/inventory/demo/host.yml b/ansible/inventory/demo/host.yml index e4afed384..0bab994aa 100644 --- a/ansible/inventory/demo/host.yml +++ b/ansible/inventory/demo/host.yml @@ -18,7 +18,7 @@ wiab: wire_ip: "" # artifact_hash - artifact_hash: "4a7c9ee5d6f0cd7bf5ef76b72324b61028176f52" + artifact_hash: "c1f882e49d9240374a57e1cae0ee28a9d93e7fe4" # docker vars docker_ce_version: "5:28.1.1-1~ubuntu.24.04~noble" diff --git a/ansible/inventory/demo/wiab-staging.yml b/ansible/inventory/demo/wiab-staging.yml index d7267b99d..72040fb8a 100644 --- a/ansible/inventory/demo/wiab-staging.yml +++ b/ansible/inventory/demo/wiab-staging.yml @@ -6,6 +6,6 @@ wiab-staging: ansible_user: 'demo' ansible_ssh_private_key_file: "~/.ssh/id_ed25519" vars: - artifact_hash: 4a7c9ee5d6f0cd7bf5ef76b72324b61028176f52 + artifact_hash: c1f882e49d9240374a57e1cae0ee28a9d93e7fe4 # when enabled, disable WAN SNAT/masquerading for VMs on the private network private_deployment: true From e5e8a2f4d207a63a084254a9ac6313ec1a70ad34 Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Sun, 20 Sep 2026 21:34:52 +0200 Subject: [PATCH 07/17] chore: WPB-28608 delete changelog --- changelog.d/2-wire-builds/release-5.34 | 1 - 1 file changed, 1 deletion(-) delete mode 100644 changelog.d/2-wire-builds/release-5.34 diff --git a/changelog.d/2-wire-builds/release-5.34 b/changelog.d/2-wire-builds/release-5.34 deleted file mode 100644 index 6bc5b0254..000000000 --- a/changelog.d/2-wire-builds/release-5.34 +++ /dev/null @@ -1 +0,0 @@ -Changed: the wire-builds reference with 5.34 backend \ No newline at end of file From 917faab475ee30cb09a30701f6dbdcd6651c6d01 Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Sun, 20 Sep 2026 21:49:20 +0200 Subject: [PATCH 08/17] fix: WPB-28608 update the wire-builds references for 5.35 team 4.24 --- CHANGELOG.md | 6 ++++++ offline/tasks/proc_pull_charts.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db0eb3811..17737066d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ ## Breaking changes --> +# Release 5.35 + +## Release notes + +* Changed: the wire-builds reference with 5.35 backend + # Release 5.34 ## Release notes diff --git a/offline/tasks/proc_pull_charts.sh b/offline/tasks/proc_pull_charts.sh index 66bd1626a..1d8809435 100755 --- a/offline/tasks/proc_pull_charts.sh +++ b/offline/tasks/proc_pull_charts.sh @@ -84,5 +84,5 @@ pull_charts() { } -wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/refs/heads/pinned-offline-5.34.0/build.json" +wire_build="https://raw.githubusercontent.com/wireapp/wire-builds/refs/heads/pinned-offline-5.35.0-teams-4.24.1/build.json" wire_build_chart_release "$wire_build" | pull_charts From 0b6938d58e9f31f6fdd1e1d6144a05c4cb19b52b Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Sun, 20 Sep 2026 22:40:49 +0200 Subject: [PATCH 09/17] fix: WPB-28608 update artifact hashes for wiab-dev and wiab-staging for 5.35 --- ansible/inventory/demo/host.yml | 2 +- ansible/inventory/demo/wiab-staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/inventory/demo/host.yml b/ansible/inventory/demo/host.yml index 0bab994aa..8480ee3aa 100644 --- a/ansible/inventory/demo/host.yml +++ b/ansible/inventory/demo/host.yml @@ -18,7 +18,7 @@ wiab: wire_ip: "" # artifact_hash - artifact_hash: "c1f882e49d9240374a57e1cae0ee28a9d93e7fe4" + artifact_hash: "9d7e52462edaaf8267cf8a34647dac18df3712c3" # docker vars docker_ce_version: "5:28.1.1-1~ubuntu.24.04~noble" diff --git a/ansible/inventory/demo/wiab-staging.yml b/ansible/inventory/demo/wiab-staging.yml index 72040fb8a..b19ebdeac 100644 --- a/ansible/inventory/demo/wiab-staging.yml +++ b/ansible/inventory/demo/wiab-staging.yml @@ -6,6 +6,6 @@ wiab-staging: ansible_user: 'demo' ansible_ssh_private_key_file: "~/.ssh/id_ed25519" vars: - artifact_hash: c1f882e49d9240374a57e1cae0ee28a9d93e7fe4 + artifact_hash: 9d7e52462edaaf8267cf8a34647dac18df3712c3 # when enabled, disable WAN SNAT/masquerading for VMs on the private network private_deployment: true From c712466d41e73541d244b271bdad147a467d73c3 Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Thu, 8 Oct 2026 12:08:24 +0200 Subject: [PATCH 10/17] Fix: WPB-28608 update nginx image --- values/sftd/prod-values.example.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/values/sftd/prod-values.example.yaml b/values/sftd/prod-values.example.yaml index 1c2374f9e..9a2445459 100644 --- a/values/sftd/prod-values.example.yaml +++ b/values/sftd/prod-values.example.yaml @@ -15,9 +15,9 @@ joinCall: # replicaCount = 1 is to support the simple wiab-staging solution replicaCount: 1 image: - repository: docker.io/bitnamilegacy/nginx + repository: nginxinc/nginx-unprivileged pullPolicy: IfNotPresent - tag: "1.27.3-debian-12-r5" + tag: "1.29.5-alpine3.23-perl" # Uncomment to enable SFT to SFT communication for federated calls # multiSFT: From cda5b776890978a209daea4a7150633b5607eaa7 Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Thu, 8 Oct 2026 12:30:53 +0200 Subject: [PATCH 11/17] Trigger Build From ed721a5518fe37b4cd8cfd44264b7f6982240a5a Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Thu, 8 Oct 2026 12:43:30 +0200 Subject: [PATCH 12/17] fix: WPB-28608 update nginx image for demo --- values/sftd/demo-values.example.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/values/sftd/demo-values.example.yaml b/values/sftd/demo-values.example.yaml index 91dc2c885..d7841479d 100644 --- a/values/sftd/demo-values.example.yaml +++ b/values/sftd/demo-values.example.yaml @@ -4,9 +4,9 @@ replicaCount: 1 joinCall: replicaCount: 1 image: - repository: docker.io/bitnamilegacy/nginx + repository: nginxinc/nginx-unprivileged pullPolicy: IfNotPresent - tag: "1.27.3-debian-12-r5" + tag: "1.29.5-alpine3.23-perl" tls: issuerRef: name: letsencrypt-http01 From 34a84aeafdf064305148d0494959793155409e5b Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 5 Nov 2026 15:19:17 +0100 Subject: [PATCH 13/17] fix(CO-38): use hcloud_locations instead of removed datacenters API Hetzner removed the Datacenters API on 2026-10-01; requests now return HTTP 410 (deprecated_api_endpoint), breaking every CD plan. Switch the location pre-flight check to the hcloud_locations data source and pin the hcloud provider to ~> 1.70 so provider upgrades are deliberate. --- changelog.d/5-bug-fixes/hetzner-datacenters-removed | 1 + terraform/examples/wiab-demo-hetzner/main.tf | 4 ++-- terraform/examples/wiab-demo-hetzner/versions.tf | 3 ++- terraform/examples/wiab-staging-hetzner/main.tf | 4 ++-- terraform/examples/wiab-staging-hetzner/versions.tf | 3 ++- terraform/examples/wire-server-deploy-offline-hetzner/main.tf | 4 ++-- .../examples/wire-server-deploy-offline-hetzner/versions.tf | 3 ++- 7 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 changelog.d/5-bug-fixes/hetzner-datacenters-removed diff --git a/changelog.d/5-bug-fixes/hetzner-datacenters-removed b/changelog.d/5-bug-fixes/hetzner-datacenters-removed new file mode 100644 index 000000000..8e4167f79 --- /dev/null +++ b/changelog.d/5-bug-fixes/hetzner-datacenters-removed @@ -0,0 +1 @@ +Fixed: Replace removed Hetzner `hcloud_datacenters` data source (HTTP 410 since 2026-10-01) with `hcloud_locations` in the CD terraform modules and pin the hcloud provider to `~> 1.70` diff --git a/terraform/examples/wiab-demo-hetzner/main.tf b/terraform/examples/wiab-demo-hetzner/main.tf index e667fecd1..1824c4652 100644 --- a/terraform/examples/wiab-demo-hetzner/main.tf +++ b/terraform/examples/wiab-demo-hetzner/main.tf @@ -15,11 +15,11 @@ variable "server_type" { # Get available server types and locations data "hcloud_server_types" "available" {} -data "hcloud_datacenters" "available" {} +data "hcloud_locations" "available" {} locals { available_server_type_names = [for st in data.hcloud_server_types.available.server_types : st.name] - available_location_names = [for dc in data.hcloud_datacenters.available.datacenters : dc.location.name] + available_location_names = [for l in data.hcloud_locations.available.locations : l.name] } resource "null_resource" "location_validation" { diff --git a/terraform/examples/wiab-demo-hetzner/versions.tf b/terraform/examples/wiab-demo-hetzner/versions.tf index b047ba54e..9260675da 100644 --- a/terraform/examples/wiab-demo-hetzner/versions.tf +++ b/terraform/examples/wiab-demo-hetzner/versions.tf @@ -1,7 +1,8 @@ terraform { required_providers { hcloud = { - source = "hetznercloud/hcloud" + source = "hetznercloud/hcloud" + version = "~> 1.70" } } required_version = "~> 1.1" diff --git a/terraform/examples/wiab-staging-hetzner/main.tf b/terraform/examples/wiab-staging-hetzner/main.tf index 5fb916526..65d7e5e54 100644 --- a/terraform/examples/wiab-staging-hetzner/main.tf +++ b/terraform/examples/wiab-staging-hetzner/main.tf @@ -25,12 +25,12 @@ variable "medium_server_type" { # Get available server types and locations data "hcloud_server_types" "available" {} -data "hcloud_datacenters" "available" {} +data "hcloud_locations" "available" {} # Validate the exact combination requested by the deployment script. locals { available_server_type_names = [for st in data.hcloud_server_types.available.server_types : st.name] - available_location_names = [for dc in data.hcloud_datacenters.available.datacenters : dc.location.name] + available_location_names = [for l in data.hcloud_locations.available.locations : l.name] } resource "null_resource" "location_validation" { diff --git a/terraform/examples/wiab-staging-hetzner/versions.tf b/terraform/examples/wiab-staging-hetzner/versions.tf index b047ba54e..9260675da 100644 --- a/terraform/examples/wiab-staging-hetzner/versions.tf +++ b/terraform/examples/wiab-staging-hetzner/versions.tf @@ -1,7 +1,8 @@ terraform { required_providers { hcloud = { - source = "hetznercloud/hcloud" + source = "hetznercloud/hcloud" + version = "~> 1.70" } } required_version = "~> 1.1" diff --git a/terraform/examples/wire-server-deploy-offline-hetzner/main.tf b/terraform/examples/wire-server-deploy-offline-hetzner/main.tf index 657f6ed0c..de792a0d0 100644 --- a/terraform/examples/wire-server-deploy-offline-hetzner/main.tf +++ b/terraform/examples/wire-server-deploy-offline-hetzner/main.tf @@ -29,12 +29,12 @@ variable "medium_server_type" { # Get available server types and locations data "hcloud_server_types" "available" {} -data "hcloud_datacenters" "available" {} +data "hcloud_locations" "available" {} # Validate the exact combination requested by the deployment script. locals { available_server_type_names = [for st in data.hcloud_server_types.available.server_types : st.name] - available_location_names = [for dc in data.hcloud_datacenters.available.datacenters : dc.location.name] + available_location_names = [for l in data.hcloud_locations.available.locations : l.name] } resource "null_resource" "location_validation" { diff --git a/terraform/examples/wire-server-deploy-offline-hetzner/versions.tf b/terraform/examples/wire-server-deploy-offline-hetzner/versions.tf index b047ba54e..9260675da 100644 --- a/terraform/examples/wire-server-deploy-offline-hetzner/versions.tf +++ b/terraform/examples/wire-server-deploy-offline-hetzner/versions.tf @@ -1,7 +1,8 @@ terraform { required_providers { hcloud = { - source = "hetznercloud/hcloud" + source = "hetznercloud/hcloud" + version = "~> 1.70" } } required_version = "~> 1.1" From 67700f37da2ec118f0aeb711e443b8e0847c51f9 Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 5 Nov 2026 15:26:59 +0100 Subject: [PATCH 14/17] fix(CO-38): try all server types in hel1 before German locations The retry loop iterated locations inside server types, so a capacity miss for the first server type in hel1 fell through to fsn1/nbg1, where VMs are rarely available. Iterate server types inside locations so hel1 is exhausted first. --- offline/cd.sh | 6 ++++-- offline/cd_demo.sh | 6 ++++-- offline/cd_staging.sh | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/offline/cd.sh b/offline/cd.sh index 069566d94..a67e9f211 100755 --- a/offline/cd.sh +++ b/offline/cd.sh @@ -11,6 +11,8 @@ COMMIT_HASH="${GITHUB_SHA}" ARTIFACT="wire-server-deploy-static-${COMMIT_HASH}" # Retry matrix +# Locations are tried in order and exhaust all server types before moving on. +# Prefer hel1: German locations rarely have capacity. LOCATIONS=("hel1" "fsn1" "nbg1") SMALL_SERVER_TYPES=("cx23" "cx33" "cpx22") MEDIUM_SERVER_TYPES=("cx33" "cx43" "cpx32") @@ -68,8 +70,8 @@ echo "Retry plan: ${location_count} locations x ${server_type_count} server type attempt=1 deployment_succeeded=false -for server_type_index in $(seq 0 $((server_type_count - 1))); do - for location_index in $(seq 0 $((location_count - 1))); do +for location_index in $(seq 0 $((location_count - 1))); do + for server_type_index in $(seq 0 $((server_type_count - 1))); do attempt_location="${LOCATIONS[$location_index]}" attempt_small_server_type="${SMALL_SERVER_TYPES[$server_type_index]}" attempt_medium_server_type="${MEDIUM_SERVER_TYPES[$server_type_index]}" diff --git a/offline/cd_demo.sh b/offline/cd_demo.sh index d9b0ed932..2ce41674a 100755 --- a/offline/cd_demo.sh +++ b/offline/cd_demo.sh @@ -16,6 +16,8 @@ TEST_USER="demo" COMMIT_HASH="${GITHUB_SHA}" # Retry matrix +# Locations are tried in order and exhaust all server types before moving on. +# Prefer hel1: German locations rarely have capacity. LOCATIONS=("hel1" "fsn1" "nbg1") SERVER_TYPES=("cx53" "cpx62") @@ -62,8 +64,8 @@ echo "Retry plan: ${location_count} locations x ${server_type_count} server type attempt=1 deployment_succeeded=false -for server_type_index in $(seq 0 $((server_type_count - 1))); do - for location_index in $(seq 0 $((location_count - 1))); do +for location_index in $(seq 0 $((location_count - 1))); do + for server_type_index in $(seq 0 $((server_type_count - 1))); do attempt_location="${LOCATIONS[$location_index]}" attempt_server_type="${SERVER_TYPES[$server_type_index]}" diff --git a/offline/cd_staging.sh b/offline/cd_staging.sh index cd4d2ccbc..dc344a4db 100755 --- a/offline/cd_staging.sh +++ b/offline/cd_staging.sh @@ -10,6 +10,8 @@ COMMIT_HASH="${GITHUB_SHA}" ARTIFACT="wire-server-deploy-static-${COMMIT_HASH}" # Retry matrix +# Locations are tried in order and exhaust all server types before moving on. +# Prefer hel1: German locations rarely have capacity. LOCATIONS=("hel1" "nbg1" "fsn1") SMALL_SERVER_TYPES=("cpx22" "cpx32" "cpx42") MEDIUM_SERVER_TYPES=("cpx42" "cpx52" "cpx62") @@ -67,8 +69,8 @@ echo "Starting deployment with automatic retry on resource unavailability..." attempt=1 deployment_succeeded=false -for server_type_index in $(seq 0 $((server_type_count - 1))); do - for location_index in $(seq 0 $((location_count - 1))); do +for location_index in $(seq 0 $((location_count - 1))); do + for server_type_index in $(seq 0 $((server_type_count - 1))); do attempt_location="${LOCATIONS[$location_index]}" attempt_small_server_type="${SMALL_SERVER_TYPES[$server_type_index]}" attempt_medium_server_type="${MEDIUM_SERVER_TYPES[$server_type_index]}" From 951d03a1fa8df02e67baf61c479bbe71e77e4ede Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 5 Nov 2026 18:18:43 +0100 Subject: [PATCH 15/17] fix(CO-38): skip hetzner cleanup when terraform was never installed The cleanup steps ran with `if: always()`, so when an earlier step (e.g. the dev build) failed they ran before setup-terraform and died with `terraform: command not found`. Only run them once terraform was installed; if it wasn't, nothing can have been deployed. --- .github/workflows/offline.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/offline.yml b/.github/workflows/offline.yml index 0df59627c..ecc9b3957 100644 --- a/.github/workflows/offline.yml +++ b/.github/workflows/offline.yml @@ -98,6 +98,7 @@ jobs: run: nix-env -f default.nix -iA env - name: Install terraform + id: install-terraform uses: hashicorp/setup-terraform@v3 with: terraform_version: "^1.3.7" @@ -109,7 +110,8 @@ jobs: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' - name: Clean up hetzner environment; just in case - if: always() + # Skip when terraform was never installed (earlier step failed): nothing was deployed. + if: always() && steps.install-terraform.outcome == 'success' run: (cd terraform/examples/wire-server-deploy-offline-hetzner ; terraform init && terraform destroy -auto-approve) env: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' @@ -138,6 +140,7 @@ jobs: run: nix-env -f default.nix -iA env - name: Install terraform + id: install-terraform uses: hashicorp/setup-terraform@v3 with: terraform_version: "^1.3.7" @@ -149,7 +152,8 @@ jobs: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' - name: Clean up hetzner wiab-staging environment; just in case - if: always() + # Skip when terraform was never installed (earlier step failed): nothing was deployed. + if: always() && steps.install-terraform.outcome == 'success' run: (cd terraform/examples/wiab-staging-hetzner ; terraform init && terraform destroy -auto-approve) env: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' @@ -221,6 +225,7 @@ jobs: AWS_REGION: "eu-west-1" - name: Install terraform + id: install-terraform uses: hashicorp/setup-terraform@v3 with: terraform_version: "^1.3.7" @@ -232,7 +237,8 @@ jobs: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' - name: Clean up hetzner wiab environment; just in case - if: always() + # Skip when terraform was never installed (earlier step failed): nothing was deployed. + if: always() && steps.install-terraform.outcome == 'success' run: (cd terraform/examples/wiab-demo-hetzner ; terraform init && terraform destroy -auto-approve) env: HCLOUD_TOKEN: '${{ secrets.HCLOUD_TOKEN }}' From cbeecae0cfec0877dcc3379a3f17077fb2b986ad Mon Sep 17 00:00:00 2001 From: Cuong Tran Date: Wed, 11 Nov 2026 23:54:20 +0100 Subject: [PATCH 16/17] fix(reaper): update the kubectl image --- values/reaper/demo-values.example.yaml | 6 ++---- values/reaper/prod-values.example.yaml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/values/reaper/demo-values.example.yaml b/values/reaper/demo-values.example.yaml index 79e1a22a3..9f1db84ea 100644 --- a/values/reaper/demo-values.example.yaml +++ b/values/reaper/demo-values.example.yaml @@ -1,6 +1,4 @@ image: registry: docker.io - # Override kubectl image to use available version in bitnamilegacy - # Using the last available version in 1.32.x series - repository: bitnamilegacy/kubectl - tag: 1.32.4 + repository: alpine/kubectl + tag: 1.36.3 diff --git a/values/reaper/prod-values.example.yaml b/values/reaper/prod-values.example.yaml index 79e1a22a3..9f1db84ea 100644 --- a/values/reaper/prod-values.example.yaml +++ b/values/reaper/prod-values.example.yaml @@ -1,6 +1,4 @@ image: registry: docker.io - # Override kubectl image to use available version in bitnamilegacy - # Using the last available version in 1.32.x series - repository: bitnamilegacy/kubectl - tag: 1.32.4 + repository: alpine/kubectl + tag: 1.36.3 From 0f2032adea3f080743ab0519e63ff424c74c2ab8 Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Mon, 9 Nov 2026 17:30:27 +0100 Subject: [PATCH 17/17] fix(CO-38): wait for adminhost SSH in default Hetzner CD setup_nodes.yml connected to adminhost_local (private IP, through the public adminhost) right after the VMs were created and failed with 'Connection timed out during banner exchange'. Wait for SSH first, as #919 does for wiab-staging. --- .../5-bug-fixes/cd-default-wait-for-adminhost | 1 + .../setup_nodes.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 changelog.d/5-bug-fixes/cd-default-wait-for-adminhost diff --git a/changelog.d/5-bug-fixes/cd-default-wait-for-adminhost b/changelog.d/5-bug-fixes/cd-default-wait-for-adminhost new file mode 100644 index 000000000..be225e21e --- /dev/null +++ b/changelog.d/5-bug-fixes/cd-default-wait-for-adminhost @@ -0,0 +1 @@ +Fixed: wait for SSH on the adminhost private IP before running setup_nodes.yml in the default Hetzner CD environment (same as wiab-staging, #919) diff --git a/terraform/examples/wire-server-deploy-offline-hetzner/setup_nodes.yml b/terraform/examples/wire-server-deploy-offline-hetzner/setup_nodes.yml index 316e2d97d..f7c2d9be7 100644 --- a/terraform/examples/wire-server-deploy-offline-hetzner/setup_nodes.yml +++ b/terraform/examples/wire-server-deploy-offline-hetzner/setup_nodes.yml @@ -1,4 +1,20 @@ --- +- name: Wait for adminhost private SSH + hosts: adminhost + gather_facts: no + tasks: + - name: Wait for SSH on public adminhost + wait_for_connection: + timeout: 300 + delay: 5 + + - name: Wait until adminhost private IP is reachable from public adminhost + wait_for: + host: "{{ hostvars['adminhost_local'].ansible_host }}" + port: 22 + timeout: 300 + delay: 5 + - name: Setup adminhost with dnsmasq and Docker hosts: adminhost_local become: yes