]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: only test network-legacy as part of Daily CI
authorJo Zzsi <jozzsicsataban@gmail.com>
Sat, 6 Sep 2025 15:26:25 +0000 (11:26 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Sun, 7 Sep 2025 02:58:30 +0000 (22:58 -0400)
network-manager is the preferred networking dracut module over
network-legacy.

Currently some tests are only tested with network-legacy.
Improve the situation by actually testing the preferred
dracut module.

.github/workflows/integration-extra.yml
.github/workflows/integration.yml

index 15f2fd0dc1350d2c20d8af232334236cd594ab7c..4fb1be88e03e1c532d6c079914e1947995bb37ef 100644 (file)
@@ -92,7 +92,6 @@ jobs:
                 network:
                     - network-manager
                     - systemd-networkd
-                    - network-legacy
                 container:
                     - arch:latest
                     - debian:latest
@@ -106,3 +105,31 @@ jobs:
               uses: actions/checkout@v5
             - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
               run: USE_NETWORK=${{ matrix.network }} ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
+    network-legacy:
+        name: ${{ matrix.test }} on ${{ matrix.container }} ${{ matrix.network }} networking
+        runs-on: ubuntu-24.04
+        timeout-minutes: 20
+        concurrency:
+            group: network-${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}-${{ matrix.network }}
+            cancel-in-progress: true
+        strategy:
+            fail-fast: false
+            matrix:
+                network:
+                    - network-legacy
+                container:
+                    - opensuse:latest
+                test:
+                    - "50"
+                    - "60"
+                    - "70"
+                    - "71"
+                    - "72"
+        container:
+            image: ghcr.io/dracut-ng/${{ matrix.container }}-amd
+            options: '--device=/dev/kvm'
+        steps:
+            - name: "Checkout Repository"
+              uses: actions/checkout@v5
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: USE_NETWORK=${{ matrix.network }} ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
index 4689d03ea458aa3048740b9bad950be222494f1f..efae7af1fee2906701832e5f34b1b196db793c33 100644 (file)
@@ -178,14 +178,6 @@ jobs:
                     - ubuntu:devel
                 test:
                     - "60"
-                include:
-                    - network: ""
-                    # on debian run tests with systemd-networkd
-                    - container: "debian:latest"
-                      network: "systemd-networkd"
-                    # on openSUSE run tests with network-legacy
-                    - container: "opensuse:latest"
-                      network: "network-legacy"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}-amd
             options: '--device=/dev/kvm'
@@ -211,10 +203,6 @@ jobs:
                     - "70"
                     - "71"
                     - "72"
-                include:
-                    # on openSUSE run tests with network-legacy
-                    - container: "opensuse:latest"
-                      network: "network-legacy"
         container:
             image: ghcr.io/dracut-ng/${{ matrix.container }}-amd
             options: '--device=/dev/kvm'