[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: start 2/3 of the builds on o1, the rest on o2

Holger Levsen (@holger) gitlab at salsa.debian.org
Sat Mar 25 12:13:44 GMT 2023



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


Commits:
b798a311 by Holger Levsen at 2023-03-25T13:13:21+01:00
reproducible Archlinux: start 2/3 of the builds on o1, the rest on o2

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

- - - - -


1 changed file:

- bin/reproducible_build_archlinux_pkg.sh


Changes:

=====================================
bin/reproducible_build_archlinux_pkg.sh
=====================================
@@ -396,9 +396,9 @@ mkdir b1 b2
 # currently there are two Arch Linux build nodes…
 N1="$ARCH_BUILD_NODE1"
 N2="$ARCH_BUILD_NODE2"
-# if random number between 0 and 99 is greater than 60…
+# if random number between 0 and 99 is greater than X…
 # prefer node $N1 (originally because one of the nodes was less loaded)
-if [ $(( ( $RANDOM % 100 ) )) -gt 60 ] ; then
+if [ $(( ( $RANDOM % 100 ) )) -gt 30 ] ; then
 	NODE1=$N1
 	NODE2=$N2
 else



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b798a311172235ae6cfc9afc8dccd9d12d725d1c
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/20230325/6c95e8b8/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list