[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] schroot-create: finish with "apt-get clean" to safe diskspace

Holger Levsen (@holger) gitlab at salsa.debian.org
Sat Apr 8 13:18:41 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
07519ab5 by Holger Levsen at 2023-04-08T14:17:35+02:00
schroot-create: finish with "apt-get clean" to safe diskspace

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/schroot-create.sh


Changes:

=====================================
bin/schroot-create.sh
=====================================
@@ -219,6 +219,9 @@ bootstrap() {
 		sudo chroot "$SCHROOT_TARGET" chown root:root /etc/sudoers.d/jenkins
 		sudo chroot "$SCHROOT_TARGET" chmod 700 /etc/sudoers.d/jenkins
 	fi
+
+	# finally
+	sudo chroot "$SCHROOT_TARGET" apt-get clean
 }
 
 bootstrap "$@"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/07519ab5ecb58acfa231474e2c3da9158992c435

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/07519ab5ecb58acfa231474e2c3da9158992c435
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230408/d74fb2e2/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list