From e5b0a80bb28aca42fc8a31f9e10af6f4309c8d80 Mon Sep 17 00:00:00 2001 From: Sebastian Palencsar Date: Tue, 5 May 2026 06:54:43 +0200 Subject: [PATCH] ci: make Ubuntu container smoke test network-independent --- .github/workflows/ci-cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 7acd3b6..c6bf6c7 100755 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -105,10 +105,10 @@ jobs: run: | echo "Testing basic container setup for Ubuntu ${{ matrix.ubuntu_version }}..." docker run --rm ubuntu:${{ matrix.ubuntu_version }} /bin/bash -c " - export DEBIAN_FRONTEND=noninteractive && - apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout=30 || apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout=30 && - apt-get install -y --no-install-recommends python3 ca-certificates --fix-missing && - python3 --version && + set -e && + grep '^NAME=' /etc/os-release && + grep '^VERSION_ID=' /etc/os-release && + bash --version > /dev/null && echo 'Ubuntu ${{ matrix.ubuntu_version }} container test successful'"