gitlab-org--gitlab-foss/app/views/projects/settings
Krasimir Angelov ad9ae16d8a Add project level git depth setting
Introduce default_git_depth in project's CI/CD settings and set it to
50. Use it if there is no GIT_DEPTH variable specified. Apply this
default only to newly created projects and keep it nil for old ones
in order to not break pipelines that rely on non-shallow clones.

default_git_depth can be updated from CI/CD Settings in the UI, must be
either nil or integer between 0 and 1000 (incl).

Inherit default_git_depth from the origin project when forking projects.

MR pipelines are run on a MR ref (refs/merge-requests/:iid/merge) and it
contains unique commit (i.e. merge commit) which doesn't exist in the
other branch/tags refs. We need to add it cause otherwise it may break
pipelines for old projects that have already enabled Pipelines for merge
results and have git depth 0.

Document new default_git_depth project CI/CD setting
2019-06-06 09:21:18 +01:00
..
badges Projects and groups badges settings UI 2018-04-08 10:20:05 +00:00
ci_cd Add project level git depth setting 2019-06-06 09:21:18 +01:00
integrations i18n: externalize strings from 'app/views/projects/settings' 2018-07-01 16:37:52 +10:00
members i18n: externalize strings from 'app/views/projects/settings' 2018-07-01 16:37:52 +10:00
operations Handle external dashboard form submission 2019-06-04 17:55:52 +00:00
repository Unified repository/show.html for CE and EE 2019-05-29 16:47:31 +02:00
_general.html.haml Resolve CE/EE diffs in group general settings 2019-05-16 15:26:47 +01:00