[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] improve example how to reboot all nodes at once

Holger Levsen gitlab at salsa.debian.org
Sun Sep 27 17:15:48 BST 2020



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


Commits:
b2f63a49 by Holger Levsen at 2020-09-27T18:15:39+02:00
improve example how to reboot all nodes at once

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

- - - - -


1 changed file:

- deploy_jdn


Changes:

=====================================
deploy_jdn
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 # vim: set noexpandtab:
 #
-# Copyright 2014-2019 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2020 Holger Levsen <holger at layer-acht.org>
 #           ©    2018 Mattia Rizzolo <mattia at debian.org>
 #
 # released under the GPLv2
@@ -32,7 +32,7 @@
 # ./deploy_jdn rmstamp		- delete stamp files everywhere
 #
 # rebooting all of them, except jenkins is easily done like this
-# $ parallel -j 8 -i sh -c 'ssh {} sudo reboot' -- pb1 pb3 pb5 pb7 pb9 pb10 pb11 pb15 o167 o168 o171 o172 o173 o174 pb2 pb6 pb12 pb16 bbx15 cb3a cbxi4b cbxi4pro0 ff2a ff2b ff4a ff64a jtk1a jtk1b jtx1a jtx1b jtx1c odu3a odxu4a opi2a opi2c p64b p64c wbq0
+# $ parallel -j 8 -i sh -c 'ssh {} sudo reboot' -- $(./nodes/list_nodes | grep -v jenkins)
 
 START=$(date +'%s')
 GIT_REPO="https://salsa.debian.org/qa/jenkins.debian.net.git"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b2f63a49b41c7504f8890cae2678a395644d37ce
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/20200927/685665d8/attachment.html>


More information about the Qa-jenkins-scm mailing list