From dacdb9fff11232e7ae9e5489cf592bd922823c29 Mon Sep 17 00:00:00 2001 From: thinkernel Date: Tue, 19 Mar 2019 07:20:19 +0000 Subject: [PATCH 1/8] Change host volumes sample to named volumes --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3aa14e3..1a904d5 100644 --- a/README.md +++ b/README.md @@ -70,15 +70,16 @@ docker run -d --volumes-from gerrit_volume -p 8080:8080 -p 29418:29418 openfrontier/gerrit -## Use local directory as the gerrit site storage. +## Use a docker named volume as the gerrit site storage. + **DO NOT** use host volumes in particular directories under the home directory like `~/gerrit` as a gerrit volume!!! Use [named volume](https://success.docker.com/article/different-types-of-volumes) instead!!! - 1. Create a site directory for the gerrit site. + 1. Create a docker volume for the gerrit site. - mkdir ~/gerrit_volume + docker volume create gerrit_volume 2. Initialize and start gerrit using the local directory created above. - docker run -d -v ~/gerrit_volume:/var/gerrit/review_site -p 8080:8080 -p 29418:29418 openfrontier/gerrit + docker run -d -v gerrit_volume:/var/gerrit/review_site -p 8080:8080 -p 29418:29418 openfrontier/gerrit ## Install plugins on start up. From c2e9483400b48c59f023eba8dcec3cfe4c33c6bf Mon Sep 17 00:00:00 2001 From: thinkernel Date: Tue, 19 Mar 2019 07:44:36 +0000 Subject: [PATCH 2/8] Upgrade to 2.14.19 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7151e7c..54dfcbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ MAINTAINER zsx ENV GERRIT_HOME /var/gerrit ENV GERRIT_SITE ${GERRIT_HOME}/review_site ENV GERRIT_WAR ${GERRIT_HOME}/gerrit.war -ENV GERRIT_VERSION 2.14.18 +ENV GERRIT_VERSION 2.14.19 ENV GERRIT_USER gerrit2 ENV GERRIT_INIT_ARGS "" From 4091edca442298370a2c8297dd8b6edbdd13295f Mon Sep 17 00:00:00 2001 From: thinkernel Date: Thu, 17 Jan 2019 11:06:50 +0000 Subject: [PATCH 3/8] Document upgrade in 2.16 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a904d5..fa92b49 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ #### Alpine base - * openfrontier/gerrit:latest -> 2.16.2 + * openfrontier/gerrit:latest -> 2.16.3 * openfrontier/gerrit:2.15.x -> 2.15.8 * openfrontier/gerrit:2.14.x -> 2.14.18 * openfrontier/gerrit:2.13.x -> 2.13.11 From 3a8264f3c9085d318c3f3ac9fb8db8efb69a7aeb Mon Sep 17 00:00:00 2001 From: thinkernel Date: Mon, 11 Feb 2019 06:19:50 +0000 Subject: [PATCH 4/8] Document upgrade in master --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa92b49..928525c 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ #### Alpine base - * openfrontier/gerrit:latest -> 2.16.3 - * openfrontier/gerrit:2.15.x -> 2.15.8 + * openfrontier/gerrit:latest -> 2.16.5 + * openfrontier/gerrit:2.15.x -> 2.15.9 * openfrontier/gerrit:2.14.x -> 2.14.18 * openfrontier/gerrit:2.13.x -> 2.13.11 * openfrontier/gerrit:2.12.x -> 2.12.7 From 91e2095f5aeccb494c535136221603a2b2df4aae Mon Sep 17 00:00:00 2001 From: thinkernel Date: Fri, 1 Mar 2019 04:42:48 +0000 Subject: [PATCH 5/8] Document upgrade in master branch --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 928525c..63266c5 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ #### Alpine base - * openfrontier/gerrit:latest -> 2.16.5 - * openfrontier/gerrit:2.15.x -> 2.15.9 + * openfrontier/gerrit:latest -> 2.16.6 + * openfrontier/gerrit:2.15.x -> 2.15.11 * openfrontier/gerrit:2.14.x -> 2.14.18 * openfrontier/gerrit:2.13.x -> 2.13.11 * openfrontier/gerrit:2.12.x -> 2.12.7 From b92da0cb3152b5dc9b8f6dfa05aa761385dd80d7 Mon Sep 17 00:00:00 2001 From: thinkernel Date: Tue, 19 Mar 2019 07:28:55 +0000 Subject: [PATCH 6/8] Document upgrade in master --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63266c5..af2437d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ #### Alpine base - * openfrontier/gerrit:latest -> 2.16.6 + * openfrontier/gerrit:latest -> 2.16.7 * openfrontier/gerrit:2.15.x -> 2.15.11 * openfrontier/gerrit:2.14.x -> 2.14.18 * openfrontier/gerrit:2.13.x -> 2.13.11 From 4f43d059ca3b796fd791252507d32cab1756fc6b Mon Sep 17 00:00:00 2001 From: thinkernel Date: Tue, 19 Mar 2019 07:38:00 +0000 Subject: [PATCH 7/8] Document upgrade in 2.15.x --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af2437d..f3424e9 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ #### Alpine base * openfrontier/gerrit:latest -> 2.16.7 - * openfrontier/gerrit:2.15.x -> 2.15.11 + * openfrontier/gerrit:2.15.x -> 2.15.12 * openfrontier/gerrit:2.14.x -> 2.14.18 * openfrontier/gerrit:2.13.x -> 2.13.11 * openfrontier/gerrit:2.12.x -> 2.12.7 @@ -17,7 +17,7 @@ #### Debian base - * openfrontier/gerrit:2.15.x-slim -> 2.15.8 + * openfrontier/gerrit:2.15.x-slim -> 2.15.12 * openfrontier/gerrit:2.14.x-slim -> 2.14.18 ## Migrate from ReviewDB to NoteDB From a542f18b4be7ced3def7a681370cf5ee00cfb1cb Mon Sep 17 00:00:00 2001 From: thinkernel Date: Tue, 19 Mar 2019 07:53:05 +0000 Subject: [PATCH 8/8] Document upgrade in 2.14.x --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f3424e9..8e80c4c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ * openfrontier/gerrit:latest -> 2.16.7 * openfrontier/gerrit:2.15.x -> 2.15.12 - * openfrontier/gerrit:2.14.x -> 2.14.18 + * openfrontier/gerrit:2.14.x -> 2.14.19 * openfrontier/gerrit:2.13.x -> 2.13.11 * openfrontier/gerrit:2.12.x -> 2.12.7 * openfrontier/gerrit:2.11.x -> 2.11.10 @@ -18,7 +18,7 @@ #### Debian base * openfrontier/gerrit:2.15.x-slim -> 2.15.12 - * openfrontier/gerrit:2.14.x-slim -> 2.14.18 + * openfrontier/gerrit:2.14.x-slim -> 2.14.19 ## Migrate from ReviewDB to NoteDB Since Gerrit 2.16, [NoteDB](https://gerrit-review.googlesource.com/Documentation/note-db.html) is required to store accounts and groups data.