mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
jenkins: purge libvirt, the runner is now baremetal+virtualbox
This commit is contained in:
parent
94affe9421
commit
40edb1a87d
2 changed files with 0 additions and 20 deletions
|
@ -39,12 +39,8 @@ if systemd-detect-virt -q ; then
|
||||||
else
|
else
|
||||||
echo "No virtualization is used."
|
echo "No virtualization is used."
|
||||||
fi
|
fi
|
||||||
sudo /bin/chmod -R a+rX /var/lib/libvirt/images
|
|
||||||
echo 'maximum allowed number of open file descriptors: ' `ulimit -n`
|
echo 'maximum allowed number of open file descriptors: ' `ulimit -n`
|
||||||
ls -ld /var/lib/libvirt/images
|
|
||||||
ls -l /var/lib/libvirt/images || echo no access
|
|
||||||
ls -lR ~/.vagrant.d/ || echo no access
|
ls -lR ~/.vagrant.d/ || echo no access
|
||||||
virsh --connect qemu:///system list --all || echo cannot virsh list
|
|
||||||
cat /etc/issue
|
cat /etc/issue
|
||||||
|
|
||||||
/sbin/ifconfig || true
|
/sbin/ifconfig || true
|
||||||
|
|
|
@ -26,7 +26,6 @@ cleanup_all() {
|
||||||
set +e
|
set +e
|
||||||
echo "$(date -u) - cleanup in progress..."
|
echo "$(date -u) - cleanup in progress..."
|
||||||
ps auxww | grep -e VBox -e qemu
|
ps auxww | grep -e VBox -e qemu
|
||||||
virsh --connect qemu:///system list --all
|
|
||||||
ls -hl /var/lib/libvirt/images
|
ls -hl /var/lib/libvirt/images
|
||||||
cd $WORKSPACE/buildserver
|
cd $WORKSPACE/buildserver
|
||||||
vagrant halt
|
vagrant halt
|
||||||
|
@ -54,21 +53,6 @@ fi
|
||||||
export VAGRANT_HOME=$WORKSPACE/vagrant.d
|
export VAGRANT_HOME=$WORKSPACE/vagrant.d
|
||||||
mkdir $VAGRANT_HOME
|
mkdir $VAGRANT_HOME
|
||||||
|
|
||||||
# delete leftovers from previous run
|
|
||||||
virsh -c qemu:///system undefine buildserver_default \
|
|
||||||
--nvram --managed-save --remove-all-storage --snapshots-metadata || true
|
|
||||||
virsh -c qemu:///system undefine builder_default \
|
|
||||||
--nvram --managed-save --remove-all-storage --snapshots-metadata || true
|
|
||||||
virsh -c qemu:///system undefine basebox-stretch64 \
|
|
||||||
--nvram --managed-save --remove-all-storage --snapshots-metadata || true
|
|
||||||
|
|
||||||
virsh -c qemu:///system vol-delete --pool default \
|
|
||||||
/var/lib/libvirt/images/buildserver_vagrant_box_image_0.img || true
|
|
||||||
virsh -c qemu:///system vol-delete --pool default \
|
|
||||||
/var/lib/libvirt/images/basebox-stretch64_vagrant_box_image_0.img || true
|
|
||||||
virsh -c qemu:///system vol-delete --pool default \
|
|
||||||
/var/lib/libvirt/images/jessie64_vagrant_box_image_0.img || true
|
|
||||||
|
|
||||||
rm -rf "$WORKSPACE"/../*/.testfiles
|
rm -rf "$WORKSPACE"/../*/.testfiles
|
||||||
|
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue