]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: switch SUSE mkosi mirror to cdn.o.o
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 May 2026 20:06:15 +0000 (21:06 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 May 2026 21:08:49 +0000 (22:08 +0100)
The cdn mirror is preferred by SUSE for clouds/CIs. There have been issues with some
mirrors, which fail to download from GHA quite often lately, so hopefully this will
make it reliable again.

.github/workflows/mkosi.yml

index 6c734cbdae8772967ccd460ccb18e8b8afc519ad..55be6ab86b8506aca00eac01f57a75c18488a05a 100644 (file)
@@ -226,6 +226,15 @@ jobs:
           RAM=4G
           EOF
 
+          # Preferred for cloud/CIs
+          if [ ${{ matrix.distro }} = opensuse ]; then
+              tee -a mkosi/mkosi.local.conf <<EOF
+
+          [Distribution]
+          Mirror=https://cdn.opensuse.org/
+          EOF
+          fi
+
       - name: Generate secure boot key
         run: mkosi --debug genkey