]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
OBS: build Fedora/Debian/Ubuntu x86_64 packages on PRs
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 15 Jan 2025 23:45:32 +0000 (23:45 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 15 Jan 2025 23:57:11 +0000 (23:57 +0000)
Start with a subset of what is built from main, can be expanded as
needed

.obs/workflows.yml

index 92e0336b99c09822806135f4ef8d9cd235070101..77b3c9f9881a0eb32d84b82e31caf419f2854bb2 100644 (file)
@@ -11,3 +11,36 @@ rebuild:
     branches:
       only:
         - main
+pull_request:
+  steps:
+    - branch_package:
+        source_project: home:bluca:systemd
+        source_package: systemd
+        target_project: home:bluca:systemd:ci
+    - branch_package:
+        source_project: home:bluca:systemd
+        source_package: systemd-fedora
+        target_project: home:bluca:systemd:ci
+    - configure_repositories:
+        project: home:bluca:systemd:ci
+        repositories:
+          - name: Debian_Testing
+            paths:
+              - target_project: home:bluca:systemd
+                target_repository: Debian_Testing
+            architectures:
+              - x86_64
+          - name: Ubuntu_24.04
+            paths:
+              - target_project: home:bluca:systemd
+                target_repository: Ubuntu_24.04
+            architectures:
+              - x86_64
+          - name: Fedora_41
+            paths:
+              - target_project: home:bluca:systemd
+                target_repository: Fedora_41
+            architectures:
+              - x86_64
+  filters:
+    event: pull_request