]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: separate out amd64 tests into its own GA file
authorJo Zzsi <jozzsicsataban@gmail.com>
Sat, 25 Jan 2025 13:47:32 +0000 (08:47 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Sat, 25 Jan 2025 14:52:24 +0000 (09:52 -0500)
Having a separate file give more control to trigger independently.

.github/workflows/integration-extra-arm64.yml [new file with mode: 0644]
.github/workflows/integration-extra.yml

diff --git a/.github/workflows/integration-extra-arm64.yml b/.github/workflows/integration-extra-arm64.yml
new file mode 100644 (file)
index 0000000..80d16b5
--- /dev/null
@@ -0,0 +1,44 @@
+---
+name: Daily Integration Tests (amd64)
+
+on:  # yamllint disable-line rule:truthy
+    schedule:
+        - cron: '30 23 * * *'   # every day at 23:30 UTC
+
+    # Allows you to run this workflow manually from the Actions tab
+    workflow_dispatch:
+
+    pull_request:
+        paths:
+            - '.github/workflows/integration-extra-amd64.yml'
+
+jobs:
+    arm64:
+        name: ${{ matrix.test }} on ${{ matrix.container }} on arm64
+        runs-on: ubuntu-24.04-arm
+        timeout-minutes: 20
+        concurrency:
+            group: arm64-${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}
+            cancel-in-progress: true
+        strategy:
+            fail-fast: false
+            matrix:
+                container:
+                    - debian
+                    - fedora
+                    - opensuse
+                    - ubuntu
+                    - void
+                test:
+                    - "10"
+                    - "30"
+                    - "80"
+                    - "81"
+        container:
+            image: ghcr.io/dracut-ng/${{ matrix.container }}:latest-arm
+            options: '--privileged'
+        steps:
+            - name: "Checkout Repository"
+              uses: actions/checkout@v4
+            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
+              run: ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
index 8b73ce1646e5ae65aa9a47252d8f4dcaadbcc6ed..4706106927b45a5b86afa117a0d6df19381fd3a4 100644 (file)
@@ -62,32 +62,3 @@ jobs:
               uses: actions/checkout@v4
             - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
               run: ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
-    arm64:
-        name: ${{ matrix.test }} on ${{ matrix.container }} on arm64
-        runs-on: ubuntu-24.04-arm
-        timeout-minutes: 20
-        concurrency:
-            group: arm64-${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}
-            cancel-in-progress: true
-        strategy:
-            fail-fast: false
-            matrix:
-                container:
-                    - debian
-                    - fedora
-                    - opensuse
-                    - ubuntu
-                    - void
-                test:
-                    - "10"
-                    - "30"
-                    - "80"
-                    - "81"
-        container:
-            image: ghcr.io/dracut-ng/${{ matrix.container }}:latest-arm
-            options: '--privileged'
-        steps:
-            - name: "Checkout Repository"
-              uses: actions/checkout@v4
-            - name: "${{ matrix.container }} TEST-${{ matrix.test }}"
-              run: ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}