[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible fdroid: delete old libvirt instances until fdroid tools can
Holger Levsen
holger at layer-acht.org
Tue Mar 7 18:07:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 15b0ab855d4d4ffc2ef1ce2ece529c03e8cf238d
Author: Hans-Christoph Steiner <hans at eds.org>
Date: Tue Mar 7 19:04:13 2017 +0100
reproducible fdroid: delete old libvirt instances until fdroid tools can
The fdroid tools should be managing these old copies of the buildserver
images. But until we get that sorted, we can just force delete them here
to get the more important parts running.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_setup_fdroid_build_environment.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh
index c4a07fc..584abdf 100755
--- a/bin/reproducible_setup_fdroid_build_environment.sh
+++ b/bin/reproducible_setup_fdroid_build_environment.sh
@@ -43,6 +43,10 @@ ls -lR ~/.vagrant.d/ || echo no access
virsh --connect qemu:///system list --all || echo cannot virsh list
cat /etc/issue
+# delete old libvirt instances, until the fdroid tools do it reliably
+virsh --connect qemu:///system undefine builder_default || echo nothing to undefine
+virsh --connect qemu:///system vol-delete /var/lib/libvirt/images/builder_default.img || echo nothing to delete
+
# the way we handle jenkins slaves doesn't copy the workspace to the slaves
# so we need to "manually" clone the git repo here…
cd $WORKSPACE
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list