[education/rkward] /: Delay all deployment jobs

Thomas Friedrichsmeier null at kde.org
Tue Apr 22 20:49:23 BST 2025


Git commit 8295de0e8da416479a8c3255af5c975e4d2a7f93 by Thomas Friedrichsmeier.
Committed on 22/04/2025 at 19:49.
Pushed by tfry into branch 'master'.

Delay all deployment jobs

M  +36   -3    .gitlab-ci.yml

https://invent.kde.org/education/rkward/-/commit/8295de0e8da416479a8c3255af5c975e4d2a7f93

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07c6173fe..b82921952 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,9 +15,42 @@ include:
       - /gitlab-templates/craft-macos-x86-64-qt6.yml
 #      - /gitlab-templates/flatpak.yml // just a waste of CPU power in the current state
 
-# experimental: delay running deployment job(s)
-delayed_craft_windows_qt6_x86_64:
-  extends: craft_windows_qt6_x86_64
+# experimental: delay running the deployment job(s) to be more resource friendly
+#               jobs can still be triggered, manually
+craft_windows_qt6_x86_64:
+  rules:
+    # run the job on mainline branches of mainline repositories
+    - if: $KDECI_SECURE_SERVICES_KEY
+      when: delayed
+      start_in: 4 hours
+    # or when triggered manually
+    - when: manual
+      # we don't want the manual job to block the pipeline
+      allow_failure: true
+
+craft_appimage_qt6:
+  rules:
+    # run the job on mainline branches of mainline repositories
+    - if: $KDECI_SECURE_SERVICES_KEY
+      when: delayed
+      start_in: 4 hours
+    # or when triggered manually
+    - when: manual
+      # we don't want the manual job to block the pipeline
+      allow_failure: true
+
+craft_macos_arm64_qt6:
+  rules:
+    # run the job on mainline branches of mainline repositories
+    - if: $KDECI_SECURE_SERVICES_KEY
+      when: delayed
+      start_in: 4 hours
+    # or when triggered manually
+    - when: manual
+      # we don't want the manual job to block the pipeline
+      allow_failure: true
+
+craft_macos_x86_64_qt6:
   rules:
     # run the job on mainline branches of mainline repositories
     - if: $KDECI_SECURE_SERVICES_KEY


More information about the rkward-tracker mailing list