Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
62478b7d
Commit
62478b7d
authored
Apr 15, 2011
by
Georgios Gousios
Browse files
README.ci updates on Git mirroring
parent
fdc452c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.ci
View file @
62478b7d
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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment