Commit 62478b7d authored by Georgios Gousios's avatar Georgios Gousios
Browse files

README.ci updates on Git mirroring

parent fdc452c6
Continuous integration with Jenkins
-----------------------------------
===================================
Preparing a GIT mirror
----------------------
Jenkins cannot currently work with Git over encrypted HTTP. To solve
this problem we currently mirror the central Git repository locally
on the jenkins installation machine. To setup such a mirror do the
following:
-edit .netrc
machine code.grnet.gr
login accountname
password accountpasswd
-Create the mirror
git clone --mirror https://code.grnet.gr/git/synnefo synnefo
-Setup cron to pull from the mirror periodically. Ideally, Git mirror updates
should run just before Jenkins jobs check the mirror for changes.
4,14,24,34,44,54 * * * * cd /path/to/mirror && git fetch && git remote prune origin
Jenkins setup
-------------
The following instructions will setup Jenkins to run synnefo tests with
the SQLite database. To run the tests on MySQL and/or Postgres, step 5
must be replicated. Also, the correct configuration file must be copied
(line 5 of the build script).
(line 6 of the build script).
1. Install and start Jenkins. On Debian Squeeze:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment