From a217ddee03d18355aadf27f8526f2d9353ec9c4a Mon Sep 17 00:00:00 2001 From: Chase Qi <chase.qi@linaro.org> Date: Wed, 23 Feb 2022 12:28:55 +0800 Subject: [PATCH] ci: only run lava-test and lava-report job for scheduled pipeline Set lava-test and lava-report job as scheduled pipeline only for the below reasons. * lava-test requires token set using GitLab variable for job submission * lava-report depends on all test jobs Signed-off-by: Chase Qi <chase.qi@linaro.org> --- .gitlab-ci.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 409c0e50..8f77bc1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -106,17 +106,6 @@ bundle-raspberrypi4-64: - if: '$CI_LAVA_TOKEN == null' when: never - if: '$CI_PIPELINE_SOURCE == "schedule"' - - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TITLE =~ /^(wip|draft):.*/i' - when: manual - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - changes: - - assets/**/* - - flavours/**/* - - manifests/*.xml - - meta-*/**/* - - .oniro-ci/* - - .gitlab-ci.yml - - if: '$CI_COMMIT_TAG' # Mimic the updated rules for lava-report from the bitbake-workspace. .lava-report: @@ -125,18 +114,6 @@ bundle-raspberrypi4-64: when: never - if: '$CI_PIPELINE_SOURCE == "schedule"' when: manual - - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TITLE =~ /^(wip|draft):.*/i' - when: manual - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - when: manual - changes: - - assets/**/* - - flavours/**/* - - manifests/*.xml - - meta-*/**/* - - .oniro-ci/* - - .gitlab-ci.yml - - if: '$CI_COMMIT_TAG' ## ## Submit jobs to LAVA -- GitLab