tree: 32aa46558f44c5f48a262344130daa40f18b43ab [path history] [tgz]
  1. gerrit-1/
  2. gerrit-2/
  3. gerrit-common/
  4. haproxy/
  5. sshd/
  6. syslog-sidecar/
  7. .gitignore
  8. docker-compose.yaml
  9. Makefile
  10. README.md
dockerised_local_env/README.md

Dockerised test environment

Prerequisites

  • envsubst:
brew install gettext
brew link --force gettext
  • wget:
brew install wget

Instructions

The docker compose provided in this directory is meant to orchestrate the spin up of a dockerised test environment with the latest stable Gerrit version. Run it with:

make init_all

The spin up will take a while, check what is going on with:

docker-compose logs -f

NOTE: If you want to run any ssh command as admin you can use the ssh keys into the gerrit-{1,2}/ssh directory.

If you need to restart one of the Gerrit instances to simulate, for example, an upgrade, you can do it this way:

make restart_gerrit_1 # (or make restart_gerrit_2)