diff options
author | Eric Engestrom <eric@igalia.com> | 2023-07-03 17:30:38 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-07-11 13:50:38 +0000 |
commit | 8e383e6d9ee08db3a540880b8d5ed9c38c7e4463 (patch) | |
tree | 0ea108124da0cc23b9beaa3f44382eef98328663 /.gitlab-ci.yml | |
parent | c56528b450b8622cc99b8dd0da9b144bda4d6894 (diff) |
ci: set priority:low tag only on non-Marge pipelines
This allows dynamically setting the priority to avoid starving Marge.
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23976>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61b7b2d0767..aa8caf6af12 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,14 +4,17 @@ workflow: - if: $GITLAB_USER_LOGIN == "marge-bot" && $CI_COMMIT_BRANCH == null variables: MESA_CI_PERFORMANCE_ENABLED: 1 + VALVE_INFRA_VANGOGH_JOB_PRIORITY: "" # Empty tags are ignored by gitlab # post-merge pipeline - if: $GITLAB_USER_LOGIN == "marge-bot" && $CI_COMMIT_BRANCH variables: LAVA_JOB_PRIORITY: 40 + VALVE_INFRA_VANGOGH_JOB_PRIORITY: priority:low # any other pipeline - if: $GITLAB_USER_LOGIN != "marge-bot" variables: LAVA_JOB_PRIORITY: 50 + VALVE_INFRA_VANGOGH_JOB_PRIORITY: priority:low - when: always variables: |