[Fusionforge-commits] FusionForge branch master updated. b59e4f51611c713e43019d006ce4d4e8fc38f3df

Christian Bayle cbayle at fusionforge.org
Tue Nov 20 23:30:05 CET 2012

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  b59e4f51611c713e43019d006ce4d4e8fc38f3df (commit)
      from  9a5bc7bd831a4a5b86aa5029e282b7c4ed00eafc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b59e4f51611c713e43019d006ce4d4e8fc38f3df
Author: Christian Bayle <chris at bayle.eu>
Date:   Tue Nov 20 23:29:28 2012 +0100

    Build for centos6

diff --git a/tests/scripts/fusionforge-build-and-test-src-cos6.sh b/tests/scripts/fusionforge-build-and-test-src-cos6.sh
new file mode 100755
index 0000000..893d5f5
--- /dev/null
+++ b/tests/scripts/fusionforge-build-and-test-src-cos6.sh
@@ -0,0 +1,67 @@
+#!/bin/sh -e
+. tests/scripts/common-functions
+. tests/scripts/common-vm
+export FORGE_HOME=/opt/gforge
+export HOST=$1
+export FILTER="TarCentosTests.php"
+destroy_vm -t centos6 $HOST
+start_vm_if_not_keeped -t centos6 $HOST
+#[ ! -e $HOME/doxygen-1.6.3/bin/doxygen ] || make build-doc DOCSDIR=$WORKSPACE/apidocs DOXYGEN=$HOME/doxygen-1.6.3/bin/doxygen
+#make BUILDRESULT=$WORKSPACE/build/packages buildtar
+#make -f Makefile.rh BUILDRESULT=$WORKSPACE/build/packages src
+setup_dag_repo $@
+echo "Create $FORGE_HOME if necessary"
+ssh root@$HOST "[ -d $FORGE_HOME ] || mkdir -p $FORGE_HOME"
+echo "Sync code on root@$HOST:$FORGE_HOME"
+rsync -a --delete src/ root@$HOST:$FORGE_HOME/src/
+echo "Run Install on $HOST"
+ssh root@$HOST "$FORGE_HOME/src/install-ng --auto --reinit"
+echo "Dump freshly installed database"
+ssh root@$HOST "su - postgres -c \"pg_dumpall\" > /root/dump"
+echo "Set use_ssl=no"
+ssh root@$HOST "(echo [core];echo use_ssl=no;echo use_fti=no) > /etc/gforge/config.ini.d/zzz-zbuildbot.ini"
+ssh root@$HOST "(echo [moinmoin];echo use_frame=no) >> /etc/gforge/config.ini.d/zzz-buildbot.ini"
+ssh root@$HOST "(echo [mediawiki];echo unbreak_frames=yes) >> /etc/gforge/config.ini.d/zzz-buildbot.ini"
+#  Install a fake sendmail to catch all outgoing emails.
+# ssh root@$HOST "perl -spi -e s#/usr/sbin/sendmail#/opt/tests/scripts/catch_mail.php# /etc/gforge/local.inc"
+echo "Stop cron daemon"
+ssh root@$HOST "service crond stop" || true
+# Install selenium
+ssh root@$HOST "yum -y install selenium"
+# Install selenium tests
+rsync -a --delete tests/ root@$HOST:$FORGE_HOME/tests/
+# Transfer hudson config
+ssh root@$HOST "cat > $FORGE_HOME/tests/config/phpunit" <<-EOF
+# Run tests
+echo "Run phpunit test on $HOST in $FORGE_HOME"
+ssh root@$HOST "$FORGE_HOME/tests/func/vncxstartsuite.sh $FILTER"
+rsync -av root@$HOST:/var/log/ $WORKSPACE/reports/
+scp root@$HOST:/tmp/gforge-*.log $WORKSPACE/reports/
+stop_vm_if_not_keeped -t centos6 $@
+exit $retcode


Summary of changes:
 ...nd-test-src-cos.sh => fusionforge-build-and-test-src-cos6.sh} |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 copy tests/scripts/{fusionforge-build-and-test-src-cos.sh => fusionforge-build-and-test-src-cos6.sh} (95%)


More information about the Fusionforge-commits mailing list