diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2016-06-28 16:46:16 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2016-06-28 16:46:16 +0300 |
commit | ec1029922e31dd1f54fc49719f978a76b7b9fc94 (patch) | |
tree | 22fef4ce06e44297055372bba17e2eda37144799 /app/views/layouts/nav | |
parent | 9315597adb22be9ddac019ca014edcde871b84e1 (diff) | |
parent | 4b593a01684608069b619560027755e6f8d5997c (diff) |
Merge branch 'use-git-depth' into 'master'
Use GIT_DEPTH for builds
## What does this MR do?
Enables experimental feature to use shallow cloning.
## Why was this MR needed?
To speed up the builds and reduce the pressure on NFS servers. This should save us between 30s to 1m of the time of each build.
## More information
`GIT_DEPTH`: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/188
## Problems
- Too small value for `GIT_DEPTH` can make it impossible to retry old changes.
You will see `unresolved reference` in build log.
We should then reconsider changing `GIT_DEPTH` to higher value
- Mechanism that rely on `git describe` may not work correctly when `GIT_DEPTH` is set. This will happen, because only part of the git history is present on the build machine
## Requirements
GitLab Runner 1.3.0. Currently all our internal runners use beta release or 1.3.0 with support for `GIT_DEPTH`.
@pcarranza Please decide when to merge that. We should start monitoring to see an impact on our NFS servers.
cc @jacobvosmaer-gitlab @pcarranza
See merge request !4730
Diffstat (limited to 'app/views/layouts/nav')
0 files changed, 0 insertions, 0 deletions