[Carrot2-cvs] deploy/cron update-demo.sh,1.3,1.4 update-docs.sh,1.1,1.2 update-website.sh,1.4,1.5
Brought to you by:
dawidweiss,
stachoo
From: <daw...@us...> - 2003-10-06 16:41:12
|
Update of /cvsroot/carrot2/deploy/cron In directory sc8-pr-cvs1:/tmp/cvs-serv4338/cron Modified Files: update-demo.sh update-docs.sh update-website.sh Log Message: added nightly component dumps in a www-exposed folder. Index: update-demo.sh =================================================================== RCS file: /cvsroot/carrot2/deploy/cron/update-demo.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** update-demo.sh 24 Sep 2003 13:36:56 -0000 1.3 --- update-demo.sh 6 Oct 2003 16:41:06 -0000 1.4 *************** *** 62,66 **** ant -f build.demo.xml copy.logs ant -f build.demo.xml copy.webapps ! # run tomcat in the background, wait and test it immediately (ant -f build.demo.xml start.tomcat.success)& sleep 360 --- 62,69 ---- ant -f build.demo.xml copy.logs ant -f build.demo.xml copy.webapps ! # copy webapps to nightly binaries folder. ! rm -f /carrot/www/static/download/nightly/*.war ! cp /home/dweiss/carrot2/runtime/context-webapps/*.war /carrot/www/static/download/nightly/ ! # run tomcat in the background, wait and test it after a couple of minutes (ant -f build.demo.xml start.tomcat.success)& sleep 360 Index: update-docs.sh =================================================================== RCS file: /cvsroot/carrot2/deploy/cron/update-docs.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** update-docs.sh 24 Sep 2003 10:46:47 -0000 1.1 --- update-docs.sh 6 Oct 2003 16:41:06 -0000 1.2 *************** *** 19,23 **** export ANT_HOME ! for counter in `seq 1 10`; do if ant -f build.docs.xml cvsupdate; then echo "Docs update ok." --- 19,23 ---- export ANT_HOME ! for counter in `seq 1 40`; do if ant -f build.docs.xml cvsupdate; then echo "Docs update ok." *************** *** 27,31 **** sleep 60 fi ! if (($counter == 10)); then echo "Problems updating CVS of the docs..." | mail -s "Docs CVS update problem." daw...@cs... exit --- 27,31 ---- sleep 60 fi ! if (($counter == 40)); then echo "Problems updating CVS of the docs..." | mail -s "Docs CVS update problem." daw...@cs... exit Index: update-website.sh =================================================================== RCS file: /cvsroot/carrot2/deploy/cron/update-website.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** update-website.sh 25 Sep 2003 06:15:49 -0000 1.4 --- update-website.sh 6 Oct 2003 16:41:06 -0000 1.5 *************** *** 18,22 **** export ANT_HOME ! for counter in `seq 1 10`; do if ant -f build.website.xml cvsupdate; then echo "Website update ok." --- 18,22 ---- export ANT_HOME ! for counter in `seq 1 40`; do if ant -f build.website.xml cvsupdate; then echo "Website update ok." *************** *** 26,30 **** sleep 60 fi ! if (($counter == 10)); then echo "Problems updating CVS of the website..." | mail -s "Website CVS update problem." daw...@cs... exit --- 26,30 ---- sleep 60 fi ! if (($counter == 40)); then echo "Problems updating CVS of the website..." | mail -s "Website CVS update problem." daw...@cs... exit |