Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Gump Wiki" for change 
notification.

The following page has been changed by LeoSimons:
http://wiki.apache.org/gump/VmgumpConfig

The comment on the change is:
reflect reality

------------------------------------------------------------------------------
  mkdir /x1/gump
  ln -s /x1/gump /usr/local/gump
  chown gump:gump /x1/gump
+ }}}
+ 
+ === Other prereqs ===
+ 
+ We manage these in /opt:
+ {{{
  mkdir /x1/opt
  mkdir /x1/opt/__versions__
  rm -r /opt
  ln -s /x1/opt /opt
  }}}
- 
- === Other prereqs ===
  
   * Java SDK:
     * Download [http://java.sun.com/j2se/1.4.2/download.html j2sdk-1_4_2_xx 
for Linux] to /tmp
@@ -58, +62 @@

   * Mono:
     * {{{apt-get install mono}}}
  
- TODO:
+ TODO: figure out which packages of the below on brutus is needed
  {{{
  lrwxrwxrwx   1 root root    35 Oct  6  2004 ant -> 
/opt/__versions__/apache-ant-1.6.2/
  lrwxrwxrwx   1 root root    31 Jan  7 11:57 cocoon -> 
/opt/__versions__/cocoon-trunk/
@@ -82, +86 @@

   * set CVSROOT per 
[http://gump.apache.org/gettingstarted.html#Getting+the+source+to+Gump Gump 
Getting Started]
   * {{{mkdir -p /usr/local/gump/public}}}
   * {{{cd /usr/local/gump/public}}}
-  * {{{svn checkout https://svn.apache.org/repos/asf/gump/trunk/ gump}}}
+  * {{{svn checkout https://svn.apache.org/repos/asf/gump/trunk/ gump}}} (note 
we're not using the "live" branch!)
   * {{{cd gump}}}
   * {{{cvs login}}}
   * {{{cvs checkout -P -d metadata gump}}}
@@ -122, +126 @@

  umask 002
  . /usr/local/gump/public/gump/local-env-py-vmgump.sh
  }}}
-  * add this crontab entry:
+  * set up cron for user "gump":
+ {{{
+ #NOT "OFFICIAL" Public - The official Gump run, the one that sends email 
(uses JDK 1.4 and the 'live' branch)
+ #0 0 * * *       cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh all 
--official
+ 
+ # Public - these are subruns of public that don't send email but update the 
web site
-  {{{0 0 * * * cd /usr/local/gump/public/gump; /bin/bash gumpy.sh
+ #0 18 * * *    cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh all
+ 0 0,6,12,18 * * *    cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh 
all
+ 
+ #DISABLED JDK 1.5 - This Gump runs on JDK 1.5
+ #0 6 * * *       cd /usr/local/gump/jdk15/gump/cron; /bin/bash gump.sh all
+ 
+ #DISABLED Test - This Gump runs on JDK 1.4 but uses the latest-and-greatest 
gump code out of 'trunk'
+ #0 12 * * *      cd /usr/local/gump/test/gump/cron; /bin/bash gump.sh all
+ 
+ #DISABLED Gump3 - This is the new Gump...
+ #0 12 * * *      cd /usr/local/gump/gump3/Gump3/; /bin/bash gump run 
--databasename=gump3
+ 
+ #DISABLED Kaffe - This Gump runs on top of Kaffe and uses the 'live' branch
+ #0 3,9,15,21 * * *      cd /usr/local/gump/kaffe/gump/cron; /bin/bash gump.sh 
all; /usr/bin/killall -9w kaffe-bin; rm -f 
/home/gump/workspaces/kaffe/workspace/ant/src/main/org/apache/tools/ThisIsALink
+ 
+ # Clean up older artifacts
+ 0 0 * * * /usr/bin/find /usr/local/gump/*/jars -type f -ctime +6 | 
/usr/bin/xargs -r /bin/rm
+ 
+ #TODO Update the local environments and workspace information
+ #55 * * * * /home/gump/update-envs.sh
+ 
+ #TODO Checkout (from CVS) and update blog
+ #1,16,31,46 * * * * /home/gump/update-blog.sh
+ 
+ #TODO Update website from svn
+ #2,17,32,47 * * * * /home/gump/update-site.sh
+ 
+ #Clean up after POI...
+ 0 0 * * * /bin/rm -f /tmp/*.xls
  }}}
   * copy the file {{{/etc/apache2/sites-available/default}}} into 
{{{/etc/apache2/sites-available/[virtual.host]}}}
   * configure {{{/etc/apache2/sites-available/[virtual.host]}}} somewhat like 
this:
@@ -196, +233 @@

  $EDITOR ~gump3/.passwd # save password
  chmod 600 ~gump3/.passwd
  chown gump3:gump3 ~gump3/.passwd
- su - gump3
+ su - gump3 # do the below as "gump3" user in /home/gump3...
  svn co https://svn.apache.org/repos/asf/gump/branches/Gump3
  }}}
  
@@ -242, +279 @@

   {{{cd /usr/local/gump/public/gump/python
  export PYTHONPATH=`pwd`
  python gump/check.py -w ../brutus.xml all --debug
- python gump/integrate.py -w ../brutus.xml all --debug
  }}}
  
+  * now kick of an "actual run" manually:
+ {{{cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh all}}}
  
  === Gump Farm Layout Details ===
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to