Skip to content
Snippets Groups Projects
Commit d91f1fec authored by Esben Haabendal's avatar Esben Haabendal
Browse files

CI: Allow use with shallow clone CI setup


Signed-off-by: default avatarEsben Haabendal <esben.haabendal@huawei.com>
parent 2864b938
No related branches found
No related tags found
No related merge requests found
Pipeline #6287 failed
...@@ -76,7 +76,7 @@ stages: ...@@ -76,7 +76,7 @@ stages:
# The repo tool seems to insist on having a branch checked out or # The repo tool seems to insist on having a branch checked out or
# something like that... Without this we get errors like # something like that... Without this we get errors like
# fatal: couldn't find remote ref refs/heads/master # fatal: couldn't find remote ref refs/heads/master
- git checkout -b master - git checkout -b master && git fetch --unshallow
# Create/maintain a mirror of all manifest repositories in runner # Create/maintain a mirror of all manifest repositories in runner
# persistent storage, and use that as reference when initializing the # persistent storage, and use that as reference when initializing the
# build repo, effectively reducing the time spent fetching git repos to # build repo, effectively reducing the time spent fetching git repos to
......
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