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

CI: Only do automatic run of OHOS builds for MR pipelines


Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
parent 4575bcf4
No related branches found
No related tags found
1 merge request!20CI: Test toolchain and bundle images against OHOS codebase
......@@ -325,6 +325,13 @@ 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
when: manual
# We don't really want these jobs to fail, but we don't want to block
# pipeline and dependent jobs either
allow_failure: true
before_script:
- if [ "${OPENHARMONY_VERSION}" = "3.0" ]; then
TARBALL_URL="https://repo.huaweicloud.com/harmonyos/os/3.0/code-v3.0-LTS.tar.gz";
......
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