tree: bd29e0bc871a80b2c4caa4cca47cc5a1bd1bf81d [path history] [tgz]
  1. tools/
  2. .dockerignore
  3. Dockerfile
  4. README.md
container-images/gerrit-init/README.md

Gerrit slave init container image

Kubernetes init container for initializing gerrit. The python script running in the container initializes Gerrit including the installation of configured core plugins.

Content

  • gerrit-base image

Setup and configuration

  • install python 3
  • copy tool scripts

Start

  • start the container via start script /var/tools/gerrit_init.py

The gerrit_init.py-script

  • reads configuration from gerrit.config (via gerrit_config_parser.py)
  • initializes Gerrit

The validate_notedb.py-script

  • validates and waits for the repository All-Projects.git with the refs refs/meta/config.
  • validates and waits for the repository All-Users.git with the ref refs/meta/config.