summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/gerrit/android-review.linaro.org2
-rw-r--r--files/gerrit/dev-private-review.linaro.org2
-rw-r--r--files/gerrit/lhg-review.linaro.org2
-rw-r--r--files/gerrit/review.linaro.org2
-rw-r--r--group_vars/gerrit6
-rw-r--r--roles/gerrit/tasks/gerrit.yml4
6 files changed, 13 insertions, 5 deletions
diff --git a/files/gerrit/android-review.linaro.org b/files/gerrit/android-review.linaro.org
index 86f2885..de77713 100644
--- a/files/gerrit/android-review.linaro.org
+++ b/files/gerrit/android-review.linaro.org
@@ -70,3 +70,5 @@
email = android-review@review.linaro.org
[index]
type = LUCENE
+[noteDb "changes"]
+ autoMigrate = true
diff --git a/files/gerrit/dev-private-review.linaro.org b/files/gerrit/dev-private-review.linaro.org
index 6272852..5ad389a 100644
--- a/files/gerrit/dev-private-review.linaro.org
+++ b/files/gerrit/dev-private-review.linaro.org
@@ -74,3 +74,5 @@
enableDeprecatedQuery = false
[index]
type = LUCENE
+[noteDb "changes"]
+ autoMigrate = true
diff --git a/files/gerrit/lhg-review.linaro.org b/files/gerrit/lhg-review.linaro.org
index a51dcca..f392d0b 100644
--- a/files/gerrit/lhg-review.linaro.org
+++ b/files/gerrit/lhg-review.linaro.org
@@ -79,3 +79,5 @@
rejectTooLong = false
[index]
type = LUCENE
+[noteDb "changes"]
+ autoMigrate = true
diff --git a/files/gerrit/review.linaro.org b/files/gerrit/review.linaro.org
index 2410a59..2f33a93 100644
--- a/files/gerrit/review.linaro.org
+++ b/files/gerrit/review.linaro.org
@@ -88,3 +88,5 @@
type = LUCENE
[repository "*"]
defaultSubmitType = REBASE_IF_NECESSARY
+[noteDb "changes"]
+ autoMigrate = true
diff --git a/group_vars/gerrit b/group_vars/gerrit
index 052be5a..071f6c6 100644
--- a/group_vars/gerrit
+++ b/group_vars/gerrit
@@ -1,7 +1,7 @@
-gerrit_plugin_version: 2.14 # Adjust only major version, so 2.12, 2.13 etc.
+gerrit_plugin_version: 2.15 # Adjust only major version, so 2.12, 2.13 etc.
gerrit_managed: no
-gerrit_version: 2.14.7
-gerrit_checksum: md5:c98b8fa9ef81f11313495087d0b9190c
+gerrit_version: 2.15.3
+gerrit_checksum: md5:95cf0e95ab5d044fd3c73aa4a012d5f1
gerrit_download_link: https://gerrit-releases.storage.googleapis.com/gerrit-{{gerrit_version}}.war
gerrit_root: /srv/gerrit
gerrit_config_server_id: "{{ansible_machine_id| default(ansible_date_time.iso8601_micro|to_uuid)}}"
diff --git a/roles/gerrit/tasks/gerrit.yml b/roles/gerrit/tasks/gerrit.yml
index e86fddb..3d61b02 100644
--- a/roles/gerrit/tasks/gerrit.yml
+++ b/roles/gerrit/tasks/gerrit.yml
@@ -35,8 +35,8 @@
- reviewers
- javamelody
-- name: Instal Gerrit plugins (master)
- get_url: url=https://gerrit-ci.gerritforge.com/view/Plugins-stable-{{gerrit_plugin_version}}/job/plugin-{{item}}-bazel-master-stable-{{gerrit_plugin_version}}/lastSuccessfulBuild/artifact/bazel-genfiles/plugins/{{item}}/{{item}}.jar dest={{gerrit_root}}/plugins/{{item}}.jar owner={{git_user}} group={{git_user}} validate_certs=no
+- name: Install Gerrit plugins (master)
+ get_url: url=https://gerrit-ci.gerritforge.com/view/Plugins-master/job/plugin-{{item}}-bazel-master-master/lastSuccessfulBuild/artifact/bazel-genfiles/plugins/{{item}}/{{item}}.jar dest={{gerrit_root}}/plugins/{{item}}.jar owner={{git_user}} group={{git_user}} validate_certs=no
with_items:
- oauth