Skip to content
Snippets Groups Projects
Unverified Commit fd5c897f authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

ci/build-generic.yaml: Pull LFS blobs for all git repos


Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent b2245292
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,14 @@
( cd "$CI_ONIRO_GIT_REPO_PATH" && git checkout "$CI_COMMIT_SHA" );
fi
# Some of the repo projects come with LFS configuration (that repo refuses
# to initialize). See:
# https://gerrit-review.googlesource.com/c/git-repo/+/83130/. As per this
# limitation, the repositories using LFS blobs need to be pulled manually.
# Now that repo synced all projects and we handled fork-based merge
# requests, we can pull all the LFS blobs.
- find -type d -name .git -execdir git lfs pull \;
script:
# Reload the value of SCRATCH_DIR set in the before_script phase. Those run
# in separate shell processes and do not share environment variables.
......
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