From 2d0c95f2b23047ed82ffeaab226705b2d033ad77 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 24 Apr 2024 15:33:31 +0100 Subject: [PATCH] ci: remove packages.microsoft.com It is not needed, it publishes things like dotnet, and it is often broken, so just remove the sources --- .github/workflows/build_test.sh | 2 ++ .github/workflows/unit_tests.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build_test.sh b/.github/workflows/build_test.sh index 80f01f09dd0..8d5dc660de9 100755 --- a/.github/workflows/build_test.sh +++ b/.github/workflows/build_test.sh @@ -111,6 +111,8 @@ else fatal "Unknown compiler: $COMPILER" fi +# This is added by default, and it is often broken, but we don't need anything from it +sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list # PPA with some newer build dependencies (like zstd) sudo add-apt-repository -y --no-update ppa:upstream-systemd-ci/systemd-ci sudo add-apt-repository -y --no-update --enable-source diff --git a/.github/workflows/unit_tests.sh b/.github/workflows/unit_tests.sh index cf9dd19151e..9236d45186d 100755 --- a/.github/workflows/unit_tests.sh +++ b/.github/workflows/unit_tests.sh @@ -52,6 +52,8 @@ for phase in "${PHASES[@]}"; do case $phase in SETUP) info "Setup phase" + # This is added by default, and it is often broken, but we don't need anything from it + rm -f /etc/apt/sources.list.d/microsoft-prod.list # PPA with some newer build dependencies add-apt-repository -y --no-update ppa:upstream-systemd-ci/systemd-ci add-apt-repository -y --no-update --enable-source