Skip to content
/ ci Public
forked from openfrontier/ci

Continuous integration system base other docker projects.

License

Notifications You must be signed in to change notification settings

kfmaster/ci

 
 

Repository files navigation

ci project

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.

Get docker images.

docker pull openfrontier/gerrit
docker pull openfrontier/jenkins
docker pull sameersbn/redmine
docker pull postgres
docker pull nginx

Get scriptes.

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

Create all containers.

## 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>

Access those services.

## 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.

Destroy all containers.(Use with caution!)

~/ci/destroyContainer.sh

About

Continuous integration system base other docker projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%