[Fusionforge-commits] r10947 - trunk/tests/scripts

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Oct 12 00:37:59 CEST 2010


Author: cbayle
Date: 2010-10-12 00:37:59 +0200 (Tue, 12 Oct 2010)
New Revision: 10947

Modified:
   trunk/tests/scripts/fusionforge-build-and-test-rpm.sh
Log:
Get config in openvz dir and provide variables to start the vm


Modified: trunk/tests/scripts/fusionforge-build-and-test-rpm.sh
===================================================================
--- trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2010-10-11 22:37:53 UTC (rev 10946)
+++ trunk/tests/scripts/fusionforge-build-and-test-rpm.sh	2010-10-11 22:37:59 UTC (rev 10947)
@@ -8,6 +8,14 @@
 export SELENIUM_RC_DIR=$WORKSPACE/reports
 if [ "x${HUDSON_URL}" = "x" ]
 then
+	. tests/openvz/config.default
+	if [ -f tests/openvz/config.`hostname` ] ; then . tests/openvz/config.`hostname`; fi
+	export VEID=$VEIDCEN
+	export IPBASE=$IPCENTOSBASE
+	export IPDNS=$IPCENTOSDNS
+	ARCH=`dpkg-architecture -qDEB_BUILD_ARCH`
+	export VZTEMPLATE=centos-$CENTVERS-$ARCH-minimal
+	export VZPRIVATEDIR
 	export SELENIUM_RC_URL=http://`hostname -f`/ws/reports
 	export FFORGE_RPM_REPO=http://`hostname -f`/ws/build/packages
 	export HOST=centos5.local




More information about the Fusionforge-commits mailing list