From 3630c777d68691b4cf5b42a424a2aca2aa0d631f Mon Sep 17 00:00:00 2001 From: Lucas Manuel Rodriguez Date: Fri, 20 Jun 2025 13:20:19 -0300 Subject: [PATCH] Pin version of cloudflared to `2025.5.0` (#30179) CI is failing with: ``` Selecting previously unselected package cloudflared. (Reading database ... 219352 files and directories currently installed.) Preparing to unpack cloudflared-linux-amd64.deb ... Unpacking cloudflared (2025.6.1) ... Setting up cloudflared (2025.6.1) ... Processing triggers for man-db (2.12.0-4build2) ... error parsing tunnel ID: fleet-test-81a7ab03-3e62-43a2-bdc0-8470dbdca600 is neither the ID nor the name of any of your tunnels Awaiting tunnel ready... failed to create tunnel: Unknown output format 'default' Awaiting tunnel ready... Awaiting tunnel ready... [...] ``` E.g.: https://github.com/fleetdm/fleet/actions/runs/15746535584/job/44417207764?pr=30140 It's hard to troubleshoot what's going on with the latest version without good credentials, so we will pin the version for now as a workaround. --- .github/workflows/fleet-and-orbit.yml | 6 +++++- .github/workflows/integration.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fleet-and-orbit.yml b/.github/workflows/fleet-and-orbit.yml index 6e8c4e548a..4f58e83811 100644 --- a/.github/workflows/fleet-and-orbit.yml +++ b/.github/workflows/fleet-and-orbit.yml @@ -97,8 +97,12 @@ jobs: sudo sysctl -w net.core.rmem_max=2500000 # Install cloudflared - wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb + # + # We pin to version 2025.5.0 because something broke with 2025.6.1. + # 2025.6.1 fails with "failed to create tunnel: Unknown output format 'default'" + wget https://github.com/cloudflare/cloudflared/releases/download/2025.5.0/cloudflared-linux-amd64.deb sudo dpkg -i cloudflared-linux-amd64.deb + # Add secret echo "$CERT_PEM" | base64 -d > cert.pem # Start tunnel diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 6f2e22416d..d4c237dea3 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -63,8 +63,12 @@ jobs: sudo sysctl -w net.core.rmem_max=2500000 # Install cloudflared - wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb + # + # We pin to version 2025.5.0 because something broke with 2025.6.1. + # 2025.6.1 fails with "failed to create tunnel: Unknown output format 'default'" + wget https://github.com/cloudflare/cloudflared/releases/download/2025.5.0/cloudflared-linux-amd64.deb sudo dpkg -i cloudflared-linux-amd64.deb + # Add secret echo "$CERT_PEM" | base64 -d > cert.pem # Start tunnel