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

.oniro-ci: remove rules from .bitbake-workspace

Apparently those rules clash with the rules defined in the
.gitlab-ci.yml .workspace-rules, due to the order of evaluation inside
GitLab.

The set of rules on .bitbake-workspace is entirely redundant, and should
be defined by the workflow. The rules on .workspace-rules have a
different purpose, namely to inject specific variables into certian
types of pipelines.

Fixes: #613



Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 7175297f
No related branches found
No related tags found
1 merge request!126.oniro-ci: remove rules from .bitbake-workspace
...@@ -194,13 +194,6 @@ ...@@ -194,13 +194,6 @@
# them). # them).
time devtool finish --remove-work --force "$CI_ONIRO_DEVTOOL_RECIPE_NAME" "$(basename "$CI_ONIRO_DEVTOOL_LAYER_PATH")"; time devtool finish --remove-work --force "$CI_ONIRO_DEVTOOL_RECIPE_NAME" "$(basename "$CI_ONIRO_DEVTOOL_LAYER_PATH")";
fi fi
rules:
# Run the job when a merge request is created.
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
# Run the job when a tag is placed.
- if: '$CI_COMMIT_TAG'
# Run the build for scheduled pipelines.
- if: '$CI_PIPELINE_SOURCE == "schedule"'
# This job is documented in docs/ci/hidden-jobs/build-linux.rst # This job is documented in docs/ci/hidden-jobs/build-linux.rst
.build-linux: .build-linux:
......
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