gitlab-org--gitlab-foss/spec/presenters
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
..
blobs
ci Add project level git depth setting 2019-06-06 09:21:18 +01:00
clusters Add changelog entry 2019-05-27 08:23:17 +00:00
conversational_development_index
projects/settings
blob_presenter_spec.rb Add web_url to tree entry in GraphQL API 2019-06-05 08:46:32 +01:00
clusterable_presenter_spec.rb
commit_presenter_spec.rb
commit_status_presenter_spec.rb
group_clusterable_presenter_spec.rb Remove duplicate clusterable presenter method 2019-05-07 08:49:27 +12:00
group_member_presenter_spec.rb
issue_presenter_spec.rb Added common fields to the IssueType 2019-05-31 13:19:29 -05:00
label_presenter_spec.rb Fix display of promote to group label 2019-05-28 10:05:20 +00:00
merge_request_presenter_spec.rb Abstract auto merge processes 2019-06-03 13:15:29 +07:00
project_clusterable_presenter_spec.rb Remove duplicate clusterable presenter method 2019-05-07 08:49:27 +12:00
project_member_presenter_spec.rb
project_presenter_spec.rb
tree_entry_presenter_spec.rb Add web_url to tree entry in GraphQL API 2019-06-05 08:46:32 +01:00