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
No related merge requests found
......@@ -361,8 +361,9 @@ build_ch:
# URL and filename for tarball containing entire OpenHarmony OS codebase
.openharmony_tarball:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH
- if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train"
# Only run these rather expensive jobs in the merge train pipelines
- if: $CI_COMMIT_BRANCH || $CI_PIPELINE_SOURCE == "merge_request_event"
when: manual
# We don't really want these jobs to fail, but we don't want to block
# 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