Merge "Customize Gerrit's download command and schema"
This commit is contained in:
commit
a84dccb530
@ -76,6 +76,7 @@ class openstack_project::gerrit (
|
|||||||
$report_bug_text = 'Get Help',
|
$report_bug_text = 'Get Help',
|
||||||
$report_bug_url = 'http://docs.openstack.org/infra/system-config/project.html#contributing',
|
$report_bug_url = 'http://docs.openstack.org/infra/system-config/project.html#contributing',
|
||||||
$index_threads = 1,
|
$index_threads = 1,
|
||||||
|
$download = {},
|
||||||
) {
|
) {
|
||||||
|
|
||||||
class { 'jeepyb::openstackwatch':
|
class { 'jeepyb::openstackwatch':
|
||||||
@ -213,6 +214,7 @@ class openstack_project::gerrit (
|
|||||||
report_bug_text => $report_bug_text,
|
report_bug_text => $report_bug_text,
|
||||||
report_bug_url => $report_bug_url,
|
report_bug_url => $report_bug_url,
|
||||||
index_threads => $index_threads,
|
index_threads => $index_threads,
|
||||||
|
download => $download,
|
||||||
}
|
}
|
||||||
|
|
||||||
mysql_backup::backup_remote { 'gerrit':
|
mysql_backup::backup_remote { 'gerrit':
|
||||||
|
@ -140,6 +140,11 @@ class openstack_project::review (
|
|||||||
token_private_key => $token_private_key,
|
token_private_key => $token_private_key,
|
||||||
swift_username => $swift_username,
|
swift_username => $swift_username,
|
||||||
swift_password => $swift_password,
|
swift_password => $swift_password,
|
||||||
|
download => {
|
||||||
|
'command' => ['checkout', 'cherry_pick', 'pull', 'format_patch'],
|
||||||
|
'scheme' => ['ssh', 'anon_http', 'anon_git'],
|
||||||
|
'archive' => ['tar', 'tbz2', 'tgz', 'txz'],
|
||||||
|
},
|
||||||
replication_force_update => true,
|
replication_force_update => true,
|
||||||
replication => [
|
replication => [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user