Continuous integration system base on other docker projects.
Create a Gerrit with PostgreSQL as backend and OpenLDAP as authentication server.
Create a Jenkins that integrate with Gerrit.
Create a Redmine container.
Create a Nginx as a reverse proxy of the Gerrit, Jenkins and Redmine.
docker pull openfrontier/gerrit
docker pull openfrontier/jenkins
docker pull sameersbn/redmine
docker pull postgres
docker pull nginx
cd ~
git clone https://github.com/openfrontier/gerrit-docker.git
git clone https://github.com/openfrontier/jenkins-docker.git
git clone https://github.com/openfrontier/redmine-docker.git
git clone https://github.com/openfrontier/nginx-docker.git
git clone https://github.com/openfrontier/ci.git
## Edit variables according to your environment.
vi ~/ci/commonVar.sh
## Create Gerrit Jenkins Redmine PostgreSQL containers.
~/ci/createContainer.sh <LDAP account search baseDN> <gerrit admin uid> <gerrit admin password> <gerrit admin email>
## Integrate Jenkins with Gerrit.
~/ci/setupContainer.sh <LDAP account search baseDN> <gerrit admin uid> <gerrit admin password> <gerrit admin email>
## Import demo project to Gerrit and Jenkins.
~/ci/importDemoProject.sh <gerrit admin uid> <gerrit admin password> <gerrit admin email>
## Gerrit
http://your.server.url/gerrit
Login by <gerrit admin uid> and <gerrit admin password>
## Jenkins
http://your.server.url/jenkins
## Redmine
http://your.server.url/redmine
Default Administrator's username and password is admin/admin.
~/ci/destroyContainer.sh