Skip to content
Snippets Groups Projects
Commit 6d559e21 authored by Chase Qi's avatar Chase Qi
Browse files

.oniro-ci/build-generic.yaml: enabled trace for multi-line command


Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
parent 14b9cd56
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
- cd "$SCRATCH_DIR" - cd "$SCRATCH_DIR"
- | - |
set -x
echo "Building repo workspace with the following properties:" echo "Building repo workspace with the following properties:"
echo "CI_ONIRO_MANIFEST_URL: $CI_ONIRO_MANIFEST_URL" echo "CI_ONIRO_MANIFEST_URL: $CI_ONIRO_MANIFEST_URL"
echo "CI_ONIRO_MANIFEST_NAME: $CI_ONIRO_MANIFEST_NAME" echo "CI_ONIRO_MANIFEST_NAME: $CI_ONIRO_MANIFEST_NAME"
...@@ -39,10 +40,12 @@ ...@@ -39,10 +40,12 @@
--manifest-url "$CI_ONIRO_MANIFEST_URL" \ --manifest-url "$CI_ONIRO_MANIFEST_URL" \
--manifest-name "$CI_ONIRO_MANIFEST_NAME" \ --manifest-name "$CI_ONIRO_MANIFEST_NAME" \
--manifest-branch "$CI_ONIRO_MANIFEST_BRANCH" --manifest-branch "$CI_ONIRO_MANIFEST_BRANCH"
set +x
- time repo sync --no-clone-bundle - time repo sync --no-clone-bundle
# See the documentation of CI_ONIRO_GIT_REPO_PATH # See the documentation of CI_ONIRO_GIT_REPO_PATH
- | - |
set -x
if [ -n "$CI_ONIRO_GIT_REPO_PATH" ]; then if [ -n "$CI_ONIRO_GIT_REPO_PATH" ]; then
if [ -n "$CI_MERGE_REQUEST_SOURCE_PROJECT_URL" ]; then if [ -n "$CI_MERGE_REQUEST_SOURCE_PROJECT_URL" ]; then
echo "CI: Bootstrapping '$CI_PROJECT_DIR' as 'incoming-merged' remote in '$CI_ONIRO_GIT_REPO_PATH'"; echo "CI: Bootstrapping '$CI_PROJECT_DIR' as 'incoming-merged' remote in '$CI_ONIRO_GIT_REPO_PATH'";
...@@ -53,6 +56,7 @@ ...@@ -53,6 +56,7 @@
echo "CI: Switching $CI_ONIRO_GIT_REPO_PATH to $CI_COMMIT_SHA"; echo "CI: Switching $CI_ONIRO_GIT_REPO_PATH to $CI_COMMIT_SHA";
( cd "$CI_ONIRO_GIT_REPO_PATH" && git checkout "$CI_COMMIT_SHA" ); ( cd "$CI_ONIRO_GIT_REPO_PATH" && git checkout "$CI_COMMIT_SHA" );
fi fi
set +x
script: script:
# Reload the value of SCRATCH_DIR set in the before_script phase. Those run # Reload the value of SCRATCH_DIR set in the before_script phase. Those run
......
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