optional:default_branch_protection,type: Integer,values: [0,1,2],desc: 'Determine if developers can push to master'
optional:default_project_visibility,type: String,values: Gitlab::VisibilityLevel.string_values,desc: 'The default project visibility'
optional:default_snippet_visibility,type: String,values: Gitlab::VisibilityLevel.string_values,desc: 'The default snippet visibility'
...
...
@@ -151,7 +98,7 @@ module API
givenclientside_sentry_enabled: ->(val){val}do
requires:clientside_sentry_dsn,type: String,desc: 'Clientside Sentry Data Source Name'
end
optional:repository_storage,type: String,desc: 'Storage paths for new projects'
optional:repository_storages,type: Array[String],desc: 'Storage paths for new projects'
optional:repository_checks_enabled,type: Boolean,desc: "GitLab will periodically run 'git fsck' in all project and wiki repositories to look for silent disk corruption issues."
optional:repository_storages,type: Array[String],desc: 'A list of names of enabled storage paths, taken from `gitlab.yml`. New projects will be created in one of these stores, chosen at random.'
optional:repository_size_limit,type: Integer,desc: 'Size limit per repository (MB)'