Skip to content
Snippets Groups Projects
Commit 45827892 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

.oniro-ci: run HawkBit publishing job on tag pipelines


This is consistent with the job which builds the bundles.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 7848d966
No related branches found
No related tags found
1 merge request!103.gitlab-ci.yml: publish RAUC bundle to HawkBit
...@@ -394,6 +394,8 @@ ...@@ -394,6 +394,8 @@
rules: rules:
# Publishing is done only for scheduled builds # Publishing is done only for scheduled builds
- if: '$CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_PIPELINE_SOURCE == "schedule"'
# Run the job when a tag is placed.
- if: '$CI_COMMIT_TAG'
# For merge requests, the publishing is optional and can be triggered manually. # For merge requests, the publishing is optional and can be triggered manually.
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: manual when: manual
......
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