Merge "Add gerrit download.scheme and download.command default values"
diff --git a/defaults/gerrit/init.yml b/defaults/gerrit/init.yml
index b2c59e0..2fd1bd7 100644
--- a/defaults/gerrit/init.yml
+++ b/defaults/gerrit/init.yml
@@ -3,4 +3,13 @@
gerrit_pipeline_library_repo: https://github.com/Mirantis/pipeline-library
gerrit_mk_pipelines_repo: https://github.com/Mirantis/mk-pipelines
gerrit_mcp_common_scripts_repo: https://github.com/Mirantis/mcp-common-scripts
+ gerrit_config_download_command:
+ - checkout
+ - cherry-pick
+ - pull
+ - format_patch
+ gerrit_config_download_scheme:
+ - http
+ - ssh
+ - anon_http
diff --git a/gerrit/server/single.yml b/gerrit/server/single.yml
index f0f6492..21b0104 100644
--- a/gerrit/server/single.yml
+++ b/gerrit/server/single.yml
@@ -54,6 +54,9 @@
pool_max_idle: 16
change_cleanup:
abandon_after: 3months
+ download:
+ command: ${_param:gerrit_config_download_command}
+ scheme: ${_param:gerrit_config_download_scheme}
postgresql:
server:
version: "9.5"