Kubernetes init container for initializing gerrit. The python script running in the container makes sure, that the database is initialized (currently supported: H2 and MySQL) and initializes Gerrit including the installation of configured core plugins.
/var/tools/gerrit_init.py
The gerrit_init.py
-script
gerrit_config_parser.py
)validate_db.py
)The validate_db.py
-script
gerrit_config_parser.py
)The validate_notedb.py
-script
All-Projects.git
with the refs refs/meta/config
.All-Users.git
with the ref refs/meta/config
.pipenv
./container-images/gerrit-init/tools
pipenv install <package>
This will update the Pipfile
and Pipfile.lock
, which will be copied into the container image, when the container image is built.