From c494c74f04c99274fd2b5f3169e66f507be207ec Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Tue, 18 Mar 2025 11:38:25 +0100 Subject: [PATCH] gitlab-ci: add condition for benchmark jobs -> only if triggered by schedule --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3205f487..c41b5e8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,7 +84,8 @@ test: benchmark: stage: test tags: ['plafrim'] - #extends: .only-main-mr + rules: + - if: $CI_PIPELINE_SOURCE == "schedule" needs: [] variables: CI_HOSTNAME: zonda @@ -107,7 +108,8 @@ benchmark: database: stage: deploy tags: ['plafrim'] - #extends: .only-main-mr + rules: + - if: $CI_PIPELINE_SOURCE == "schedule" needs: ['benchmark'] script: - guix time-machine -C .guix/scalfmm-channels.scm -- shell --pure --preserve="^CI|proxy$" -- GitLab