Override GIT_STRATEGY in .gitlab-ci.yml
This adds a hard-coded 'GIT_STRATEGY: clone' to .gitlab-ci.yml. Without this, misconfigured forks of gitlab-org/gitlab can use the 'fetch' strategy which is bad for the pack-objects cache hit ratio. Without a good hit ratio, such misconfigured forks cause CPU saturation events on the Gitaly server that hosts them. See https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/1584 for more information.
Showing
Please register or sign in to comment