[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian armhf: add a small wrapper script to ease armhf nodes
Holger Levsen
gitlab at salsa.debian.org
Mon Apr 5 00:36:59 BST 2021
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
f3240cd0 by Holger Levsen at 2021-04-05T01:36:42+02:00
reproducible Debian armhf: add a small wrapper script to ease armhf nodes
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- + bin/powercycle_armhf_nodes.sh
Changes:
=====================================
bin/powercycle_armhf_nodes.sh
=====================================
@@ -0,0 +1,17 @@
+#!/bin/bash
+# vim: set noexpandtab:
+
+# Copyright 2021 Holger Levsen <holger at layer-acht.org>
+# released under the GPLv2
+
+CONSOLESERVER=hbi1.dyn.aikidev.net
+
+# validate input and modify if needed
+for i in "$@" ; do
+ case $i in
+ bpi0|hb0) NODE=${i}a ;;
+ *) NODE=$i ;;
+ esac
+ ssh $CONSOLESERVER "cd /srv/rb/remote-power ; ./remote-power $NODE ccl"
+done
+
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f3240cd013c78d24610ceb13eaff0a1d0277ab2a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f3240cd013c78d24610ceb13eaff0a1d0277ab2a
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/20210404/6e2fe0c8/attachment.htm>
More information about the Qa-jenkins-scm
mailing list