WIP: Proof of concept to rewrite how we clone sources
What does this MR do?
Instead of doing:
-
git cloneorgit fetch,
This does:
-
rm -rf /project/dir# ifgit clonestrategy, -
git init /project/dir, -
git remote add origin project-url, -
git fetch.
Why was this MR needed?
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master- branch was rebased
What are the relevant issue numbers?
Resolves Runner side of things for https://gitlab.com/gitlab-org/gitlab-ce/issues/55013
Edited by Kamil Trzciński