openfrontier / docker-gerrit

Build a Docker image with the Gerrit code review system
Apache License 2.0
197 stars 116 forks source link

How to start without initialization? #45

Closed crorvick closed 7 years ago

crorvick commented 7 years ago

The ENTRYPOINT script does a bunch of initialization if run with the default CMD /gerrit-start.sh, including re-indexing. This can take a long time so ideally this would only be done on initial setup. It's not clear how to bypass this, though.

crorvick commented 7 years ago

Generating the index offline seems to be unnecessary since Gerrit 2.11.2. I've submitted a pull request with a potential solution.

crorvick commented 7 years ago

Pull request #46 resolves the issue of extended startup times and has been merged. Thanks!

thinkernel commented 7 years ago

You're welcome and thanks for the patch.