testing: Mount and serve testresults from the host
This avoids having to copy testresults, makes results of cancelled runs browsable (runs may actually be followed live) and preserves old results when rebuilding guest images (e.g. when using the build-strongswan script). The number of consecutive test runs without any intermittent rebuild of the guest images is also not limited by the image size anymore.
This commit is contained in:
@@ -60,6 +60,9 @@ do
|
||||
then
|
||||
execute "mkdir $LOOPDIR/var/log/apache2/ocsp" 0
|
||||
execute "cp -rf $DIR/../images $LOOPDIR/var/www/" 0
|
||||
execute "mkdir $LOOPDIR/var/www/testresults" 0
|
||||
echo "echo /testresults ... >> $LOOPDIR/etc/fstab" >>$LOGFILE 2>&1
|
||||
echo "/testresults /var/www/testresults 9p trans=virtio,version=9p2000.L 0 0" >> $LOOPDIR/etc/fstab
|
||||
execute_chroot "a2enmod -q cgid" 0
|
||||
execute_chroot "a2enmod -q rewrite" 0
|
||||
execute_chroot "ln -s /etc/openssl/certs /var/www/certs" 0
|
||||
|
||||
Reference in New Issue
Block a user