- Continuous integration system base on other docker projects.
- Create a Gerrit container with PostgreSQL as backend and OpenLDAP as authorization server.
- Create a Jenkins container with OpenLDAP as authorization server that integrates with Gerrit.
- Create a Jenkins container slave workspace volume.
- Create a Redmine container with OpenLDAP as authorization server.
- Create a Dokuwiki container with OpenLDAP as authorization server.
- Create a Nexus container as local maven repository.
- Create an Nginx container as a reverse proxy of the Gerrit, Jenkins, Redmine, Dokuwiki, Nexus with SSO through OpenLDAP.
- Optionally create a OpenLDAP container.
- Import a project to demonstrate the configuration of Gerrit, Jenkins, Redmine which including:
- Using Jenkins gerrit plugin to trigger builds from gerrit.
- Using Jenkins docker plugin to trigger builds on a dockerized slave node.
Docker service installed on host.
Git installed on host.
A OpenLDAP or AD server with anonymous binding configuration. (Optional)
An user account with email in the OpenLDAP or AD server. (Optional)
git clone --recursive https://github.com/shivshav/ci.git
## Edit variables according to your environment.
vi $PROJECT_ROOT/config
## Start all containers.
$PROJECT_ROOT/run.sh
## Gerrit
http://your.server.url/gerrit
Login using <admin uid> and <admin password> from config.
## Jenkins
http://your.server.url/jenkins
## Redmine
http://your.server.url/redmine
Default Administrator's username and password is admin/admin.
## Dokuwiki
http://your.server.url/dokuwiki
Login using <admin uid> and <admin password> from config.
## Nexus
http://your.server.url/nexus
Default Administrator's username and password is admin/admin123.
## Stop all
$PROJECT_ROOT/stop.sh
## Restart all
$PROJECT_ROOT/start.sh
## Upgrade Gerrit, Jenkins, Redmine, Nginx
## Keep all data containers untouched.
## Gerrit 2.10.6 -> 2.11.2 has been tested.
$PROJECT_ROOT/upgradeContainer.sh
$PROJECT_ROOT/destroyContainer.sh