From 5194b36968ba74ca77de7c7690529b8f69e471ee Mon Sep 17 00:00:00 2001 From: robojerk Date: Sun, 7 Sep 2025 17:27:22 -0700 Subject: [PATCH] Install curl first before testing apt-cacher-ng connectivity - Install curl in build container before attempting to test apt-cacher-ng - This should resolve the connectivity testing issues - Follows the pattern used in other successful CI workflows - Should allow proper detection and configuration of apt-cacher-ng The build container needs curl installed before it can test apt-cacher-ng connectivity, which is why the debugging output wasn't showing up in the logs. --- .forgejo/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index e0fa490..b8ed33a 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -68,6 +68,11 @@ jobs: bash -c ' set -e + # Install curl first so we can test apt-cacher-ng connectivity + echo "Installing curl first..." + apt-get update + apt-get install -y curl + # Configure apt to use cacher if available # Try multiple methods to reach the apt-cacher-ng service APT_CACHER_IP="" @@ -95,7 +100,7 @@ jobs: echo "Apt-cacher-ng not available, using direct connection" fi - # Update and install dependencies + # Update and install remaining dependencies apt-get update apt-get install -y \ build-essential \ @@ -108,7 +113,6 @@ jobs: ninja-build \ git \ wget \ - curl \ dpkg-dev \ signify-openbsd \ python3-pytest \