Skip to content
Snippets Groups Projects
Commit a217ddee authored by Chase Qi's avatar Chase Qi
Browse files

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: default avatarChase Qi <chase.qi@linaro.org>
parent d1f58234
No related branches found
No related tags found
No related merge requests found
...@@ -106,17 +106,6 @@ bundle-raspberrypi4-64: ...@@ -106,17 +106,6 @@ bundle-raspberrypi4-64:
- if: '$CI_LAVA_TOKEN == null' - if: '$CI_LAVA_TOKEN == null'
when: never when: never
- if: '$CI_PIPELINE_SOURCE == "schedule"' - 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. # Mimic the updated rules for lava-report from the bitbake-workspace.
.lava-report: .lava-report:
...@@ -125,18 +114,6 @@ bundle-raspberrypi4-64: ...@@ -125,18 +114,6 @@ bundle-raspberrypi4-64:
when: never when: never
- if: '$CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_PIPELINE_SOURCE == "schedule"'
when: manual 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 ## Submit jobs to LAVA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment