[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Arch Linux: add jobs to create schroots on OSUOSL nodes

Holger Levsen gitlab at salsa.debian.org
Wed Jan 9 16:49:27 GMT 2019


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


Commits:
f5837c0a by Holger Levsen at 2019-01-09T16:48:03Z
reproducible Arch Linux: add jobs to create schroots on OSUOSL nodes

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

- - - - -
53cbe7b3 by Holger Levsen at 2019-01-09T16:49:10Z
reproducible Arch Linux: start preparing osuosl169+179 nodes for their job

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

- - - - -


3 changed files:

- TODO
- job-cfg/reproducible.yaml
- update_jdn.sh


Changes:

=====================================
TODO
=====================================
@@ -364,6 +364,11 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
 * things to be done before enabling more builders:
 ** build in /srv/workspace instead of /tmp (once this has been done reduce /tmp size back to 15G)
 
+* build on OSUOSL nodes:
+** builds not moved yet
+** not yet running in the future
+** disable builds on old nodes
+
 ==== reproducible fdroid
 
 * reproducible_setup_fdroid_buildserver.sh:


=====================================
job-cfg/reproducible.yaml
=====================================
@@ -660,6 +660,14 @@
                     my_description: 'Setup an Arch Linux schroot to test Arch Linux packages for reproducibility.'
                     my_timed: '42 23 1 1 *'
                     my_hname: 'profitbricks4'
+                - 'setup_schroot_archlinux_osuosl169':
+                    my_description: 'Setup an Arch Linux schroot to test Arch Linux packages for reproducibility.'
+                    my_timed: '42 23 1 1 *'
+                    my_hname: 'osuosl169'
+                - 'setup_schroot_archlinux_osuosl170':
+                    my_description: 'Setup an Arch Linux schroot to test Arch Linux packages for reproducibility.'
+                    my_timed: '42 23 1 1 *'
+                    my_hname: 'osuosl170'
                 - 'setup_mock_fedora-23_x86_64_jenkins':
                     my_description: 'Setup mock for fedora-23 on X86_64 to test .rpm packages for reproducibility.'
                     my_timed: '42 23 1 1 *'


=====================================
update_jdn.sh
=====================================
@@ -1,6 +1,6 @@
 #!/bin/bash
 # vim: set noexpandtab:
-# Copyright 2012-2018 Holger Levsen <holger at layer-acht.org>
+# Copyright 2012-2019 Holger Levsen <holger at layer-acht.org>
 #         ©      2018 Mattia Rizzolo <mattia at debian.org>
 # released under the GPLv=2
 
@@ -183,6 +183,10 @@ case $HOSTNAME in
 		TMPFSSIZE=100
 		TMPSIZE=15
 		;;
+	osuosl*)
+		TMPFSSIZE=400
+		TMPSIZE=50
+		;;
 	*) ;;
 esac
 case $HOSTNAME in
@@ -192,7 +196,7 @@ case $HOSTNAME in
 			exit 1
 		fi
 		;;
-	jenkins|profitbricks-build*amd64|codethink*)
+	jenkins|profitbricks-build*amd64|codethink*|osuosl*)
 		if ! grep -q '^tmpfs\s\+/srv/workspace\s' /etc/fstab; then
 			echo "tmpfs		/srv/workspace	tmpfs	defaults,size=${TMPFSSIZE}g	0	0" | sudo tee -a /etc/fstab >/dev/null  
 		fi
@@ -490,6 +494,9 @@ if [ -f /etc/debian_version ] ; then
 			|| [ "$HOSTNAME" = "profitbricks-build2-i386" ] || [ "$HOSTNAME" = "profitbricks-build12-i386" ] ; then
 			# we dont vary the kernel on i386 atm, see #875990 + #876035
 			$UP2DATE || sudo apt-get install linux-image-amd64:amd64
+		elif [ "$HOSTNAME" = "osuosl-build169-amd64" ] || [ "$HOSTNAME" = "osuosl-build170-amd64" ] ; then
+			# Arch Linux builds latest stuff which sometimes (eg, currentlt Qt) needs newer kernel to build...
+			$UP2DATE || sudo apt-get install -t stretch-backports linux-image-amd64
 		fi
 		# only needed on the main nodes
 		if [ "$HOSTNAME" = "jenkins-test-vm" ] ; then



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/b5bb8c4f2c7c02ff64025ac47202a4d47327c58c...53cbe7b37957eda8afa68909a96c52fef4bae558

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/b5bb8c4f2c7c02ff64025ac47202a4d47327c58c...53cbe7b37957eda8afa68909a96c52fef4bae558
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/20190109/2a1b42e8/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list