Author: miguel
Date: 2005-04-13 19:22:42 -0400 (Wed, 13 Apr 2005)
New Revision: 42971
Added:
trunk/release/buildbot/
trunk/release/buildbot/config/
trunk/release/buildbot/config/amd-mono
trunk/release/buildbot/scripts/
trunk/release/buildbot/scripts/build
trunk/release/buildbot/scripts/checkout
trunk/release/buildbot/scripts/clean-up
trunk/release/buildbot/scripts/cleanup
trunk/release/buildbot/scripts/connect
trunk/release/buildbot/scripts/extras
trunk/release/buildbot/scripts/shared-vars
trunk/release/buildbot/scripts/test
trunk/release/buildbot/scripts/update-status
trunk/release/buildbot/setup-machine
Log:
Commit
Added: trunk/release/buildbot/config/amd-mono
===================================================================
--- trunk/release/buildbot/config/amd-mono 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/config/amd-mono 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,7 @@
+export PATH=/mono/bin:$PATH
+export LD_LIBRARY_PATH=/mono/lib
+lane_name=x86-64-head
+prefix=/mono2
+install=true
+extra_script='sh -x ./update-status || { echo "errors"; exit 1; }'
+
Added: trunk/release/buildbot/scripts/build
===================================================================
--- trunk/release/buildbot/scripts/build 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/scripts/build 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+. ~/buildbot-config
+. shared-vars
+
+rm -f /tmp/buildflag-$USER-`hostname`
+cd mono
+echo "Calling autogen.sh --with-preview=yes --prefix=/mono"
+sh autogen.sh --with-preview=yes --prefix=$prefix || { echo "errors"; exit 1; }
+
+echo "Calling make"
+make MCS_FLAGS='-debug -v' || { echo "errors"; exit 1; }
+
+echo "Calling make install"
+make install || { echo "error"; exit 1; }
+
+touch /tmp/buildflag-$USER-`hostname`
+
Property changes on: trunk/release/buildbot/scripts/build
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/scripts/checkout
===================================================================
--- trunk/release/buildbot/scripts/checkout 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/scripts/checkout 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+. shared-vars
+
+if [ ! -d last-checkout/mono ]
+then
+ echo "Running \"svn checkout mono mcs\""
+ rm -rf mono mcs
+ svn co $base/$branch/mono
+ svn co $base/$branch/mcs
+ mkdir -p last-checkout
+ date
+ rsync -a ./mono ./mcs ./last-checkout
+ date
+else
+ cd last-checkout
+ echo "Updating mono and mcs"
+ svn up mono mcs
+ cd ..
+ date
+ rsync -a --delete --exclude '.svn/' ./last-checkout/* .
+ date
+fi
+
+echo "Checkout done."
Property changes on: trunk/release/buildbot/scripts/checkout
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/scripts/clean-up
===================================================================
--- trunk/release/buildbot/scripts/clean-up 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/scripts/clean-up 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rm -rf mono mcs
Property changes on: trunk/release/buildbot/scripts/clean-up
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/scripts/cleanup
===================================================================
--- trunk/release/buildbot/scripts/cleanup 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/scripts/cleanup 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rm -rf mono mcs
Property changes on: trunk/release/buildbot/scripts/cleanup
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/scripts/connect
===================================================================
--- trunk/release/buildbot/scripts/connect 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/scripts/connect 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,14 @@
+#!/bin/sh
+. shared-vars
+
+echo "Making tap file for $MASTER... "
+mktap buildbot slave \
+ --name $lane_name \
+ --passwd "foobar" \
+ --basedir $xbasedir \
+ --master $MASTER:8007 \
+ --keepalive 120
+echo "done."
+
+echo "Connected to server... "
+twistd -n -d $PWD -l $PWD/buildbotclient.log -f buildbot.tap
Property changes on: trunk/release/buildbot/scripts/connect
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/scripts/extras
===================================================================
--- trunk/release/buildbot/scripts/extras 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/scripts/extras 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,9 @@
+#!/bin/sh
+if test '!' -f /tmp/buildflag-$USER-`hostname`; then
+ echo Build failed, skipping extras
+ exit 1
+fi
+
+$extra_script
+
+exit 0
\ No newline at end of file
Property changes on: trunk/release/buildbot/scripts/extras
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/scripts/shared-vars
===================================================================
--- trunk/release/buildbot/scripts/shared-vars 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/scripts/shared-vars 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,7 @@
+base=svn+ssh://[EMAIL PROTECTED]/source
+branch=`cat ~/BRANCH`
+MASTER=64.14.94.132
+xbasedir=~/$branch
+extra_script=true
+install=false
+. ~/buildbot-config
\ No newline at end of file
Property changes on: trunk/release/buildbot/scripts/shared-vars
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/scripts/test
===================================================================
--- trunk/release/buildbot/scripts/test 2005-04-13 23:03:14 UTC (rev 42970)
+++ trunk/release/buildbot/scripts/test 2005-04-13 23:22:42 UTC (rev 42971)
@@ -0,0 +1,10 @@
+#!/bin/sh
+export PATH=$prefix/bin:$PATH
+if test '!' -f /tmp/buildflag-$USER-`hostname`; then
+ echo Build failed, skipping tests
+ exit 1
+fi
+
+echo Testing the runtime
+cd mono/mono
+exec make -k check
Property changes on: trunk/release/buildbot/scripts/test
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/scripts/update-status
===================================================================
--- trunk/release/buildbot/scripts/update-status 2005-04-13 23:03:14 UTC
(rev 42970)
+++ trunk/release/buildbot/scripts/update-status 2005-04-13 23:22:42 UTC
(rev 42971)
@@ -0,0 +1,47 @@
+#!/bin/sh -x
+#
+# USAGE: update-status <version>
+#
+export VERSION="1.1"
+export NAME="mono-HEAD-vs-fx-1-1"
+export SECTIONS="mscorlib cscompmgd System System.Xml
System.Configuration.Install System.Data System.Data.OracleClient System.Design
System.Drawing System.Drawing.Design System.DirectoryServices System.Management
System.Messaging System.Web System.Web.Services Microsoft.VisualBasic
System.EnterpriseServices System.Runtime.Remoting System.Windows.Forms
System.Runtime.Serialization.Formatters.Soap System.Security"
+export DEST="[EMAIL PROTECTED]:go-mono/class-status/$NAME/"
+export PATH=/mono/bin:$PATH
+cd ./mono/web/web
+
+#
+# Download the masterinfo files and unpack them
+#
+wget -nv -O masterinfos-$VERSION.tar.gz
http://mono.ximian.com/masterinfos/masterinfos-$VERSION.tar.gz
+tar zxpf masterinfos-$VERSION.tar.gz
+
+#
+# Build the necessary tools
+#
+mcs -nowarn:0618 transform.cs
+(cd ../../../mcs/tools/corcompare; make PROFILE=net_2_0)
+
+#
+# Generate the data
+#
+for i in $SECTIONS; do
+ mono ../../../mcs/tools/corcompare/mono-api-info.exe $i > infos/$i.xml ||
(rm -f infos/$i.xml && exit 1)
+ mono ../../../mcs/tools/corcompare/mono-api-diff.exe masterinfos/$i.xml
infos/$i.xml > src/$i.xml || (rm -f src/$i.xml && exit 1)
+ mono ./transform.exe src/$i.xml ../../../mcs/tools/corcompare/mono-api.xsl
> src/$i.html.in || (rm -f src/$i.html.in && exit 1)
+ perl htmlify src/$i.html.in > src/class-status-$i.src
+done
+
+#
+# Apply the template to the src files to form the final HTML file
+#
+~/apply-template ~/index.src ~/index.html
+for file in src/*.src; do
+
+ f=src/`basename $file .src`
+ ~/apply-template $f.src $f.html
+done
+
+#
+# Upload the templates and files
+#
+scp -C -q src/*.html ~/index.html $DEST
Property changes on: trunk/release/buildbot/scripts/update-status
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/release/buildbot/setup-machine
===================================================================
--- trunk/release/buildbot/setup-machine 2005-04-13 23:03:14 UTC (rev
42970)
+++ trunk/release/buildbot/setup-machine 2005-04-13 23:22:42 UTC (rev
42971)
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# Usage: setup-machine host login branch
+#
+# sample: setup-machine amd-mono nbuilder trunk
+#
+login=$2
+host=$1
+branch=$3
+
+if test x$branch = x; then
+ echo Usage is: setup-machine host login trunk
+ exit 1
+fi
+
+if test '!' -f config/$host; then
+ echo No config file for host $host
+ exit 1
+fi
+
+branch=`echo $branch | sed 's#/#-#g'`
+ssh [EMAIL PROTECTED] "echo $branch > BRANCH; mkdir $branch"
+scp -pr scripts/* [EMAIL PROTECTED]:$branch
+scp ~/.ssh/builder-id-dsa [EMAIL PROTECTED]:.ssh/id_dsa
+scp config/$host [EMAIL PROTECTED]:buildbot-config
+ssh [EMAIL PROTECTED] "chmod 700 ~/.ssh; chmod 600 ~/.ssh/*"
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches