summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorMartin Roukala (né Peres) <martin.roukala@mupuf.org>2023-02-01 12:56:08 +0200
committerMartin Roukala (né Peres) <martin.roukala@mupuf.org>2023-02-02 12:18:33 +0200
commit0c54f261eae2f19eb4cef5fa8b444d96a3515513 (patch)
tree6ede97e0426c34a1f1a39995fb0a9e7e988a4f4b /.gitlab-ci
parent5e1479220049e69d0e02673b18cbbe96b4a3b2fb (diff)
downloadmesa-0c54f261eae2f19eb4cef5fa8b444d96a3515513.tar.gz
mesa-0c54f261eae2f19eb4cef5fa8b444d96a3515513.tar.bz2
mesa-0c54f261eae2f19eb4cef5fa8b444d96a3515513.zip
ci/core-manual-rules: enclose the whole condition in quotes
Quoting a condition is apparently an effective way of working around YAML parsing weirdness. However, the quotes need to surround the whole expression, not just parts of it. Fixes: f6c06ef2f66a ("ci: Add manual rules variations to disable.") Suggested-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21036>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/test-source-dep.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml
index 7d2edd50e1d..2c790b07c7b 100644
--- a/.gitlab-ci/test-source-dep.yml
+++ b/.gitlab-ci/test-source-dep.yml
@@ -59,9 +59,9 @@
# We only want manual jobs to show up when it's not marge's pre-merge CI
# run, otherwise she'll wait until her timeout. The exception is
# performance jobs, see below.
- - if: ('$GITLAB_USER_LOGIN == "marge-bot" &&
- $CI_PIPELINE_SOURCE == "merge_request_event"' &&
- $CI_JOB_NAME !~ "/performance$/")
+ - if: '($GITLAB_USER_LOGIN == "marge-bot" &&
+ $CI_PIPELINE_SOURCE == "merge_request_event" &&
+ $CI_JOB_NAME !~ "/performance$/")'
when: never
- !reference [.scheduled_pipeline-rules, rules]
- changes: