Broken master: undefined method `default_git_depth' in migrate_legacy_uploads_spec
Job https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/227159302 failed with:
22) Gitlab::BackgroundMigration::MigrateLegacyUploads when legacy uploads are stored in object storage behaves like migrates files correctly removed the attachments from the note model
Failure/Error: let!(:project) { create(:project, :legacy_storage, namespace: namespace) }
NoMethodError:
undefined method `default_git_depth' for #<ProjectCiCdSetting:0x000055dd35370f88>
Did you mean? default_timezone
Shared Example Group: "migrates files correctly" called from ./spec/lib/gitlab/background_migration/migrate_legacy_uploads_spec.rb:218
Looks like this was introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28919, and we need to add the mocks from c0a812ec to the other migration specs as well.
Edited by Markus Koller