From b43061694ca2f520e0e6fe17b77f83eb0973c31d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 30 Sep 2024 15:39:30 +0200 Subject: [PATCH] CI: skip the valgrind tests for marge-bot 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: --- .gitlab-ci.yml | 18 ++++++++++++++++++ .gitlab-ci/ci.template | 2 ++ 2 files changed, 20 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 466c0a30..c91931b5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index f51e6f64..acaa3e42 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -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 #}