Module: Mesa
Branch: main
Commit: f3264c2ea08e5aa12682a7b26ff7ad2048069b07
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3264c2ea08e5aa12682a7b26ff7ad2048069b07

Author: Eric Engestrom <e...@igalia.com>
Date:   Wed Nov 15 19:27:37 2023 +0000

ci: give an explicit priority to the scheduled nightly pipelines

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26451>

---

 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 73ee3b14614..18346e6dcf3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,6 +38,12 @@ workflow:
         VALVE_INFRA_VANGOGH_JOB_PRIORITY: ""  # Empty tags are ignored by 
gitlab
     # post-merge pipeline
     - if: &is-post-merge $GITLAB_USER_LOGIN == "marge-bot" && 
$CI_PIPELINE_SOURCE == "push"
+    # nightly pipeline
+    - if: &is-scheduled-pipeline $CI_PIPELINE_SOURCE == "schedule"
+      variables:
+        KERNEL_IMAGE_BASE: 
https://${S3_HOST}/mesa-lava/${KERNEL_REPO}/${KERNEL_TAG}
+        JOB_PRIORITY: 50
+        VALVE_INFRA_VANGOGH_JOB_PRIORITY: priority:low
     # pipeline for direct pushes that bypassed the CI
     - if: &is-direct-push $CI_PROJECT_NAMESPACE == "mesa" && 
$CI_PIPELINE_SOURCE == "push" && $GITLAB_USER_LOGIN != "marge-bot"
       variables:
@@ -221,6 +227,9 @@ include:
     # Build everything after someone bypassed the CI
     - if: *is-direct-push
       when: on_success
+    # Build everything in scheduled pipelines
+    - if: *is-scheduled-pipeline
+      when: on_success
     # Always allow user branches etc to trigger jobs manually
     - when: manual
 

Reply via email to