Skip to content
Snippets Groups Projects

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

Merged Zygmunt Krynicki requested to merge zyga/oniro:fix/manifest-branch-mr into kirkstone
Files
2
@@ -15,7 +15,9 @@
CI_ONIRO_MANIFEST_MIRROR: oniro-develop
CI_ONIRO_GIT_REPO_PATH: ""
CI_ONIRO_INSTANCE_SIZE: s3.large.8
CI_ONIRO_MAGIC: ".oniro-ci/build-generic.yaml:18:.workspace"
before_script:
- env | grep -E ^CI_ONIRO | sort
- test ! -e "$CI_PROJECT_DIR"/.scratch-dir-name || (
echo "precondition failed - concurrent modification of $CI_PROJECT_DIR"
&& env | grep CI_ | sort
@@ -73,6 +75,20 @@
# Clean up after ourselves.
- rm -f "$CI_PROJECT_DIR"/.scratch-dir-name
- rm -rf "$SCRATCH_DIR"
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TITLE =~ /^(wip|draft):.*/i'
when: manual
variables:
CI_ONIRO_MANIFEST_URL: "$CI_MERGE_REQUEST_SOURCE_PROJECT_URL"
CI_ONIRO_MAGIC: ".oniro-ci/build-generic.yml:83:.workspace"
- if: '$CI_MERGE_REQUEST_IID'
# When building a merge request substitute the CI_ONIRO_MANIFEST_URL to point
# to the incoming repository, and CI_ONIRO_MANIFEST_BRANCH, to the right
# branch name. This allows testing the changes coming into project. This
# is done here, so that it does not clobber scheduled pipelines.
variables:
CI_ONIRO_MANIFEST_URL: "$CI_MERGE_REQUEST_SOURCE_PROJECT_URL"
CI_ONIRO_MAGIC: ".oniro-ci/build-generic.yml:91:.workspace"
# This job is documented in docs/ci/hidden-jobs/bitbake-workspace.rst
.bitbake-workspace:
@@ -91,6 +107,7 @@
CI_ONIRO_BB_LOCAL_CONF_plus_equals_USER_CLASSES: "buildstats buildstats-summary"
CI_ONIRO_DEVTOOL_RECIPE_NAME: ""
CI_ONIRO_DEVTOOL_LAYER_PATH: ""
CI_ONIRO_MAGIC: ".oniro-ci/build-generic.yaml:96:.bitbake-workspace"
before_script:
# Bitbake requires a non-root user to operate.
Loading