Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-10 18:09:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-10 18:09:14 +0300
commitff06f859cdabec3c874c004f93fe5082aeacf917 (patch)
tree5269b37a4cd5181869267e3ce9ece4d11518752b /doc/ci/large_repositories
parenta08f8baa63c0aea7fcf969da40d30e6cf56365cc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/large_repositories')
-rw-r--r--doc/ci/large_repositories/index.md19
1 files changed, 3 insertions, 16 deletions
diff --git a/doc/ci/large_repositories/index.md b/doc/ci/large_repositories/index.md
index 3464b981454..f25ef7c725a 100644
--- a/doc/ci/large_repositories/index.md
+++ b/doc/ci/large_repositories/index.md
@@ -56,24 +56,11 @@ test:
> Introduced in GitLab Runner 8.9.
-By default, GitLab is configured to always prefer the `GIT_STRATEGY: fetch` strategy.
-The `GIT_STRATEGY: fetch` strategy will re-use existing worktrees if found
-on disk. This is different to the `GIT_STRATEGY: clone` strategy
-as in case of clones, if a worktree is found, it is removed before clone.
-
-Usage of `fetch` is preferred because it reduces the amount of data to transfer and
+By default, GitLab is configured to use the [`fetch` Git strategy](../runners/README.md#git-strategy),
+which is recommended for large repositories.
+This strategy reduces the amount of data to transfer and
does not really impact the operations that you might do on a repository from CI.
-However, `fetch` does require access to the previous worktree. This works
-well when using the `shell` or `docker` executor because these
-try to preserve worktrees and try to re-use them by default.
-
-This does not work today for `kubernetes` executor and has limitations when using
-`docker+machine`. `kubernetes` executor today always clones into ephemeral directory.
-
-GitLab also offers the `GIT_STRATEGY: none` strategy. This disables any `fetch` and `checkout` commands
-done by GitLab, requiring you to do them.
-
## Git clone path
> Introduced in GitLab Runner 11.10.