Install curl first before testing apt-cacher-ng connectivity
Some checks failed
Build libfuse / Build and Test (push) Failing after 1m29s

- 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.
This commit is contained in:
robojerk 2025-09-07 17:27:22 -07:00
parent be2c25d9cd
commit 5194b36968

View file

@ -68,6 +68,11 @@ jobs:
bash -c ' bash -c '
set -e 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 # Configure apt to use cacher if available
# Try multiple methods to reach the apt-cacher-ng service # Try multiple methods to reach the apt-cacher-ng service
APT_CACHER_IP="" APT_CACHER_IP=""
@ -95,7 +100,7 @@ jobs:
echo "Apt-cacher-ng not available, using direct connection" echo "Apt-cacher-ng not available, using direct connection"
fi fi
# Update and install dependencies # Update and install remaining dependencies
apt-get update apt-get update
apt-get install -y \ apt-get install -y \
build-essential \ build-essential \
@ -108,7 +113,6 @@ jobs:
ninja-build \ ninja-build \
git \ git \
wget \ wget \
curl \
dpkg-dev \ dpkg-dev \
signify-openbsd \ signify-openbsd \
python3-pytest \ python3-pytest \