]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
obs: prepare ParticleOS images in workflow
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 4 Jun 2026 19:20:51 +0000 (20:20 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 16 Jun 2026 10:08:45 +0000 (11:08 +0100)
Link ParticleOS images in the workflow subproject for the PR,
so that they can be enabled with a click when needed.
But keep disabled by default, as they take a lot of resources,
especially disk space.

.obs/workflows.yml

index 4f7c00d486c100288d7297369b6e30da396705f0..de17bc88c1aa8755d109e2a92541634e057aa107 100644 (file)
@@ -14,6 +14,38 @@ ci:
         source_project: system:systemd
         source_package: systemd
         target_project: system:systemd:ci
+    # Also prepare some images, but disabled by default to avoid wasting cpu/disk
+    - link_package:
+        source_project: system:systemd
+        source_package: particleos-debian
+        target_project: system:systemd:ci
+    - link_package:
+        source_project: system:systemd
+        source_package: particleos-debian-arm
+        target_project: system:systemd:ci
+    - link_package:
+        source_project: system:systemd
+        source_package: particleos-fedora
+        target_project: system:systemd:ci
+    - link_package:
+        source_project: system:systemd
+        source_package: uki-debian
+        target_project: system:systemd:ci
+    - link_package:
+        source_project: system:systemd
+        source_package: uki-fedora
+        target_project: system:systemd:ci
+    - set_flags:
+        flags:
+          # First disable all builds (including images linked in above)
+          - type: build
+            status: disable
+            project: system:systemd:ci
+          # Then enable systemd package builds only, so that images stay disabled
+          - type: build
+            status: enable
+            project: system:systemd:ci
+            package: systemd
   filters:
     event: pull_request
     branches: