diff --git a/modules/openstack_project/manifests/review.pp b/modules/openstack_project/manifests/review.pp index 13d75f421b..0463802af6 100644 --- a/modules/openstack_project/manifests/review.pp +++ b/modules/openstack_project/manifests/review.pp @@ -91,6 +91,7 @@ class openstack_project::review ( url => $project_config_repo, } + $accountpatchreviewdb_url = "jdbc:mysql://${mysql_host}:3306/accountPatchReviewDb?characterSetResults=utf8&characterEncoding=utf8&connectionCollation=utf8_bin&useUnicode=yes&user=gerrit2&password=${mysql_password}" class { 'openstack_project::gerrit': java_home => $java_home, git_http_url => 'https://git.openstack.org/', @@ -124,7 +125,7 @@ class openstack_project::review ( httpd_maxthreads => '100', httpd_maxqueued => '200', war => - 'http://tarballs.openstack.org/ci/gerrit/gerrit-v2.11.4.22.e0c0f29.war', + 'http://tarballs.openstack.org/ci/gerrit/gerrit-v2.13.9.4.2a605d5.war', acls_dir => $::project_config::gerrit_acls_dir, notify_impact_file => $::project_config::gerrit_notify_impact_file, projects_file => $::project_config::jeepyb_project_file, @@ -135,6 +136,7 @@ class openstack_project::review ( github_project_password => $github_project_password, mysql_host => $mysql_host, mysql_password => $mysql_password, + accountpatchreviewdb_url => $accountpatchreviewdb_url, email_private_key => $email_private_key, token_private_key => $token_private_key, swift_username => $swift_username, @@ -178,12 +180,12 @@ class openstack_project::review ( { name => 'changeid', match => '(I[0-9a-f]{8,40})', - link => '/#q,$1,n,z', + link => '/#/q/$1', }, { name => 'gitsha', match => '(

|[\\s(])([0-9a-f]{40})(

|[\\s.,;:)])', - html => '$1$2$3', + html => '$1$2$3', }, ], its_plugins => [ @@ -292,8 +294,9 @@ class openstack_project::review ( require => $::project_config::config_dir, } - gerrit::plugin { 'javamelody': version => '3fefa35' } - gerrit::plugin { 'its-storyboard': version => 'a9cb131' } + gerrit::plugin { 'javamelody': version => 'v2.13.3.e4233d6' } + gerrit::plugin { 'its-storyboard': version => '805f9ac' } + class { 'gerritbot': nick => 'openstackgerrit',