[Fusionforge-commits] FusionForge branch master updated. cb628c88e8d5b6a7731bb9b784ac8686b2a37fc0

Christian Bayle cbayle at fusionforge.org
Tue Nov 20 23:40:31 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  cb628c88e8d5b6a7731bb9b784ac8686b2a37fc0 (commit)
      from  ced28b676a12672029188e649ac3b5cef3b4b8ed (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 cb628c88e8d5b6a7731bb9b784ac8686b2a37fc0
Author: Christian Bayle <chris at bayle.eu>
Date:   Tue Nov 20 23:40:03 2012 +0100

    Remove unused files

diff --git a/tests/scripts/fusionforge-build-and-test-tgz-cos.sh b/tests/scripts/fusionforge-build-and-test-tgz-cos.sh
deleted file mode 100755
index dcf12c4..0000000
--- a/tests/scripts/fusionforge-build-and-test-tgz-cos.sh
+++ /dev/null
@@ -1,142 +0,0 @@
-#!/bin/sh -ex
-
-export CURDIR=`pwd`
-export WORKSPACE=${WORKSPACE:-$CURDIR}
-
-export CONFIG_PHP=func/config.php.buildbot
-export SELENIUM_RC_HOST=${SELENIUM_RC_HOST:-`hostname -i`}
-export SELENIUM_RC_DIR=$WORKSPACE/reports
-
-# get config 
-. tests/config/default
-if [ -f tests/config/`hostname` ] ; then . tests/config/`hostname`; fi
-if [ ! -z "$1" ]
-then
-	export HOST="$1"
-else
-	export HOST=centos5src.$DNSDOMAIN
-	export VEID=$VEIDSRC
-fi
-
-
-export LXCTEMPLATE=$LXCCOSTEMPLATE
-
-export IPBASE=$IPCOSBASE
-export IPDNS=$IPCOSDNS
-export IPMASK=$IPCOSMASK
-export IPGW=$IPCOSGW
-
-ARCH=`dpkg-architecture -qDEB_BUILD_ARCH`
-export VZTEMPLATE=centos-$COSVERS-$ARCH-minimal
-export VZPRIVATEDIR
-export DEBMIRROR
-
-export DIST
-export VMENGINE
-export SSHPUBKEY
-export HOSTKEYDIR
-
-if [ "x${HUDSON_URL}" = "x" ]
-then
-	export BASEDIR=${BASEDIR:-/~`id -un`/ws}
-	export USEVZCTL=true
-	export SELENIUM_RC_HOST=localhost
-	export SELENIUM_RC_URL=http://`hostname -f`$BASEDIR/reports
-	export FFORGE_RPM_REPO=http://`hostname -f`$BASEDIR/build/packages
-else
-	export SELENIUM_RC_URL=${HUDSON_URL}job/$JOB_NAME/ws/reports
-	export FFORGE_RPM_REPO=${HUDSON_URL}job/$JOB_NAME/ws/build/packages
-	export VZTEMPLATE=centos-5-x86
-fi
-export DB_NAME=fforge
-export CONFIGURED=true
-
-export BUILDRESULT=$WORKSPACE/build/packages
-
-[ ! -d $WORKSPACE/build/packages ] || rm -fr $WORKSPACE/build/packages
-[ ! -d $WORKSPACE/build/config ] || rm -fr $WORKSPACE/build/config
-[ ! -d $WORKSPACE/reports ] || rm -fr $WORKSPACE/reports
-[ ! -d $WORKSPACE/apidocs ] || rm -fr $WORKSPACE/apidocs
-mkdir -p $WORKSPACE/build/packages $WORKSPACE/build/config $WORKSPACE/reports/coverage $WORKSPACE/apidocs
-
-[ ! -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
-
-(cd 3rd-party/selenium ; make getselenium)
-
-if $KEEPVM
-then
-	echo "Destroying vm $HOST"
-	(cd tests/scripts ; sh ./stop_vm.sh $HOST || true)
-fi
-
-(cd tests/scripts ; ./start_vm.sh $HOST)
-
-# FUSIONFORGE REPO
-cp src/rpm-specific/fusionforge.repo $WORKSPACE/build/packages/fusionforge.repo
-sed -i "s#http://fusionforge.org/#${HUDSON_URL}#" $WORKSPACE/build/packages/fusionforge.repo
-if [ ! -z "$FFORGE_RPM_REPO" ]
-then
-	sed -i "s#baseurl = .*#baseurl = ${FFORGE_RPM_REPO}/#" $WORKSPACE/build/packages/fusionforge.repo
-fi
-scp $WORKSPACE/build/packages/fusionforge.repo root@$HOST:/etc/yum.repos.d/
-
-# DAG
-cp src/rpm-specific/dag-rpmforge.repo $WORKSPACE/build/packages/dag-rpmforge.repo
-if [ ! -z "$DAG_RPMFORGE_REPO" ] ; then
-        sed -i "s#http://apt.sw.be/redhat#${DAG_RPMFORGE_REPO}#" $WORKSPACE/build/packages/dag-rpmforge.repo
-fi
-scp $WORKSPACE/build/packages/dag-rpmforge.repo root@$HOST:/etc/yum.repos.d/
-
-cat > $WORKSPACE/build/config/phpunit <<-EOF
-HUDSON_URL=$HUDSON_URL
-JOB_NAME=$JOB_NAME
-EOF
-
-scp -r tests root@$HOST:/root
-scp -r $WORKSPACE/build/config  root@$HOST:/root
-scp 3rd-party/selenium/binary/selenium-server-current/selenium-server.jar root@$HOST:/root
-if [ "x$BUILDRESULT" != "x" ]
-then
-	scp $BUILDRESULT/fusionforge-*.tar.bz2 root@$HOST:
-else
-	scp ../build/packages/fusionforge-*.tar.bz2 root@$HOST:
-fi
-ssh root@$HOST 'tar jxf fusionforge-*.tar.bz2'
-ssh root@$HOST "cd fusionforge-*; FFORGE_RPM_REPO=$FFORGE_RPM_REPO DAG_RPMFORGE_REPO=$DAG_RPMFORGE_REPO FFORGE_DB=fforge FFORGE_USER=gforge FFORGE_ADMIN_USER=ffadmin FFORGE_ADMIN_PASSWORD=ffadmin ./install.sh $HOST"
-ssh root@$HOST "(echo [core];echo use_ssl=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"
-ssh root@$HOST "cd /root/tests/func; CONFIGURED=true CONFIG_PHP=config.php.buildbot DB_NAME=$DB_NAME php db_reload.php"
-ssh root@$HOST "su - postgres -c \"pg_dump -Fc $DB_NAME\" > /root/dump"
-#ssh root@$HOST "su - postgres -c \"pg_dumpall\" > /root/dump"
-#  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"
-ssh root@$HOST "service crond stop" || true
-
-retcode=0
-if $REMOTESELENIUM
-then
-	echo "Run phpunit test on $HOST"
-	ssh -X root@$HOST "tests/scripts/phpunit.sh TarCentosTests.php" || retcode=$?
-else
-	cd tests
-	phpunit --log-junit $WORKSPACE/reports/phpunit-selenium.xml TarCentosTests.php || retcode=$?
-	cd ..
-fi
-if [ "x$SELENIUM_RC_DIR" != "x" ]
-then
-	rsync -av root@$HOST:/var/log/ $SELENIUM_RC_DIR/
-fi
-cp $WORKSPACE/reports/phpunit-selenium.xml $WORKSPACE/reports/phpunit-selenium.xml.org
-xalan -in $WORKSPACE/reports/phpunit-selenium.xml.org -xsl fix_phpunit.xslt -out $WORKSPACE/reports/phpunit-selenium.xml
-if $KEEPVM 
-then
-	echo "Keeping vm $HOST alive"
-else
-	(cd tests/scripts ; sh ./stop_vm.sh $HOST)
-fi
-exit $retcode
diff --git a/tests/scripts/fusionforge-build-and-test-tgz-deb.sh b/tests/scripts/fusionforge-build-and-test-tgz-deb.sh
deleted file mode 100755
index 4640904..0000000
--- a/tests/scripts/fusionforge-build-and-test-tgz-deb.sh
+++ /dev/null
@@ -1 +0,0 @@
-# TODO

-----------------------------------------------------------------------

Summary of changes:
 .../scripts/fusionforge-build-and-test-tgz-cos.sh  |  142 --------------------
 .../scripts/fusionforge-build-and-test-tgz-deb.sh  |    1 -
 2 files changed, 143 deletions(-)
 delete mode 100755 tests/scripts/fusionforge-build-and-test-tgz-cos.sh
 delete mode 100755 tests/scripts/fusionforge-build-and-test-tgz-deb.sh


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list