Bump Gerrit version to 3.1.7

Change-Id: I24555632368506c22a2e20de63075f039b37ea6c
diff --git a/README.md b/README.md
index 8421a2a..a128319 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
 
 # Docker images
 
-Images to run a Gerrit master and slave setup based on the 3.0.3 Gerrit release.
+Images to run a Gerrit master and slave setup based on the 3.1.7 Gerrit release.
 
 ## Building images
 
diff --git a/container-images/gerrit-base/Dockerfile b/container-images/gerrit-base/Dockerfile
index ec61049..59766c6 100644
--- a/container-images/gerrit-base/Dockerfile
+++ b/container-images/gerrit-base/Dockerfile
@@ -11,7 +11,7 @@
     mkdir -p /var/war
 
 # Download Gerrit release
-ARG GERRIT_WAR_URL=https://gerrit-releases.storage.googleapis.com/gerrit-3.0.3.war
+ARG GERRIT_WAR_URL=https://gerrit-releases.storage.googleapis.com/gerrit-3.1.7.war
 RUN curl -k -o /var/war/gerrit.war ${GERRIT_WAR_URL} && \
     ln -s /var/war/gerrit.war /var/gerrit/bin/gerrit.war
 
diff --git a/helm-charts/gerrit-master/Chart.yaml b/helm-charts/gerrit-master/Chart.yaml
index 11d3fe9..1cfeab8 100644
--- a/helm-charts/gerrit-master/Chart.yaml
+++ b/helm-charts/gerrit-master/Chart.yaml
@@ -1,5 +1,5 @@
 apiVersion: v2
-appVersion: 3.0.3
+appVersion: 3.1.7
 description: |-
     Gerrit is a free, web-based team code collaboration tool. Software developers
     in a team can review each other's modifications on their source code using
diff --git a/helm-charts/gerrit-slave/Chart.yaml b/helm-charts/gerrit-slave/Chart.yaml
index cb9abb9..448bbb8 100644
--- a/helm-charts/gerrit-slave/Chart.yaml
+++ b/helm-charts/gerrit-slave/Chart.yaml
@@ -1,5 +1,5 @@
 apiVersion: v2
-appVersion: 3.0.3
+appVersion: 3.1.7
 description: |-
     The Gerrit slave serves as a read-only Gerrit instance to serve repositories
     that it receives from a Gerrit master instance via replication. It can be
diff --git a/tests/helm-charts/gerrit-master/test_chart_gerrit_master_plugins.py b/tests/helm-charts/gerrit-master/test_chart_gerrit_master_plugins.py
index 8d1fc3c..467a8ef 100644
--- a/tests/helm-charts/gerrit-master/test_chart_gerrit_master_plugins.py
+++ b/tests/helm-charts/gerrit-master/test_chart_gerrit_master_plugins.py
@@ -25,8 +25,8 @@
 
 import utils
 
-PLUGINS = ["owners", "reviewers"]
-GERRIT_VERSION = "3.0"
+PLUGINS = ["uploadvalidator", "serviceuser"]
+GERRIT_VERSION = "3.1"
 
 
 @pytest.fixture(scope="module")
@@ -35,7 +35,7 @@
     for plugin in PLUGINS:
         url = (
             "https://gerrit-ci.gerritforge.com/view/Plugins-stable-{gerrit_version}/"
-            "job/plugin-{plugin}-bazel-stable-{gerrit_version}/lastSuccessfulBuild/"
+            "job/plugin-{plugin}-bazel-master-stable-{gerrit_version}/lastSuccessfulBuild/"
             "artifact/bazel-bin/plugins/{plugin}/{plugin}.jar"
         ).format(plugin=plugin, gerrit_version=GERRIT_VERSION)
         jar = requests.get(url, verify=False).content