From e1177f0258c44b6a810ed3a8bcd7074018eeb0c3 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 29 Mar 2021 11:33:36 +0200 Subject: [PATCH] Optimize test jobs for emba * test/infra/gitlab-ci.yml (.test-template): Do not run fast and normal test jobs when scheduled. --- test/infra/gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 25231f55046..17dda1a91b6 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml @@ -140,6 +140,10 @@ default: - docker push ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG} .test-template: + # Do not run fast and normal test jobs when scheduled + rules: + - if: '$CI_JOB_STAGE =~ "fast|normal" && $CI_PIPELINE_SOURCE == "schedule"' + when: never artifacts: name: ${test_name} public: true -- 2.39.2