Skip to content
Snippets Groups Projects
Commit 79eb576d authored by Esben Haabendal's avatar Esben Haabendal
Browse files

Merge branch 'merge-train-ci' into 'kirkstone'

CI: Optimize pipeline for merge train setup

See merge request eclipse/oniro-core/meta-openharmony!81
parents 1650d81a ea6805aa
No related branches found
No related tags found
1 merge request!81CI: Optimize pipeline for merge train setup
Pipeline #9272 passed
...@@ -361,8 +361,9 @@ build_ch: ...@@ -361,8 +361,9 @@ build_ch:
# URL and filename for tarball containing entire OpenHarmony OS codebase # URL and filename for tarball containing entire OpenHarmony OS codebase
.openharmony_tarball: .openharmony_tarball:
rules: rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train"
- if: $CI_COMMIT_BRANCH # Only run these rather expensive jobs in the merge train pipelines
- if: $CI_COMMIT_BRANCH || $CI_PIPELINE_SOURCE == "merge_request_event"
when: manual when: manual
# We don't really want these jobs to fail, but we don't want to block # We don't really want these jobs to fail, but we don't want to block
# pipeline and dependent jobs either # pipeline and dependent jobs either
......
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