CI: skip the valgrind tests for marge-bot
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 30 Sep 2024 13:39:30 +0000 (15:39 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 30 Sep 2024 17:30:53 +0000 (17:30 +0000)
marge-bot rebases and edits the commit message but there's not way for
it to introduce a memleak that wasn't spotted in the user pipeline
first. Since those tests are very flaky, let's skip them when running
the marge-bot pipeline.

Closes #1042

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1057>

.gitlab-ci.yml
.gitlab-ci/ci.template

index 466c0a30964a6ded3cae069b8a91665afaf60e20..c91931b5f0c5463e29a5a4a187bd8fb1406024e5 100644 (file)
@@ -669,6 +669,8 @@ vm-valgrind-touchpad:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 vm-valgrind-tap:
   stage: valgrind
@@ -679,6 +681,8 @@ vm-valgrind-tap:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 vm-valgrind-touchpad-buttons:
   stage: valgrind
@@ -689,6 +693,8 @@ vm-valgrind-touchpad-buttons:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 vm-valgrind-tablet:
   stage: valgrind
@@ -699,6 +705,8 @@ vm-valgrind-tablet:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 vm-valgrind-gestures-device:
   stage: valgrind
@@ -709,6 +717,8 @@ vm-valgrind-gestures-device:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 vm-valgrind-backends:
   stage: valgrind
@@ -719,6 +729,8 @@ vm-valgrind-backends:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 vm-valgrind-misc:
   stage: valgrind
@@ -729,6 +741,8 @@ vm-valgrind-misc:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 vm-valgrind-other devices:
   stage: valgrind
@@ -739,6 +753,8 @@ vm-valgrind-other devices:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 vm-valgrind-pointer:
   stage: valgrind
@@ -749,6 +765,8 @@ vm-valgrind-pointer:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 
 .fedora-build@template:
index f51e6f64d196f65a521a7f019e08282393b59ffd..acaa3e4263b275bcc42e0c81f7b3891eac7c8fb1 100644 (file)
@@ -447,6 +447,8 @@ vm-valgrind-{{suite.name}}:
     LITEST_JOBS: 4
   retry:
     max: 2
+  rules:
+    - if: $GITLAB_USER_LOGIN != "marge-bot"
 
 {% endfor %}
 {% endfor %}{# for if distro.use_for_qemu_tests #}