Mercurial > hg > freeDiameter
comparison contrib/nightly_tests/README @ 410:3ed2c84d9e23
Couple of fixes and improvements
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 08 Jul 2010 16:45:41 +0900 |
parents | 9a9a9e1ed4cb |
children | 195096819152 |
comparison
equal
deleted
inserted
replaced
408:9a9a9e1ed4cb | 410:3ed2c84d9e23 |
---|---|
10 ============= | 10 ============= |
11 | 11 |
12 INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver: | 12 INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver: |
13 | 13 |
14 1) Install all dependencies for freeDiameter. See the "prereqs" file (for Debian/Ubuntu). | 14 1) Install all dependencies for freeDiameter. See the "prereqs" file (for Debian/Ubuntu). |
15 $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O - | grep -v -e "$#"` | 15 $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O - | grep -v -e "^#"` |
16 | 16 |
17 2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here) | 17 2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here) |
18 # su - postgres | 18 # su - postgres |
19 # createuser test | 19 # createuser test |
20 Shall the new role be a superuser? (y/n) n | 20 Shall the new role be a superuser? (y/n) n |
53 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake | 53 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake |
54 | 54 |
55 6) Run the script once to check it works properly | 55 6) Run the script once to check it works properly |
56 | 56 |
57 7) Set up a crontab to run the script | 57 7) Set up a crontab to run the script |
58 $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/cronjob.sh | |
59 $ chmod +x cronjob.sh | |
58 $ crontab -l | 60 $ crontab -l |
59 0 0 * * * /home/test/fDbuild/runtests.sh > /home/test/fDbuild/runtests.log 2>&1 | 61 0 0 * * * /home/test/fDbuild/cronjob.sh > /home/test/fDbuild/cronjob.log 2>&1 |