[Qa-jenkins-scm] [jenkins.debian.net] 02/11: reproducible/openwrt|lede: rename argument from slave -> node

Holger Levsen holger at layer-acht.org
Tue Aug 2 14:25:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit a27d8cc42a10b6792ebdc653d2d1abf996d26e48
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sat Jul 30 22:15:41 2016 +0200

    reproducible/openwrt|lede: rename argument from slave -> node
    
    To conform to the naming on other scripts
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_lede.sh           | 3 +--
 bin/reproducible_openwrt.sh        | 3 +--
 bin/reproducible_openwrt_common.sh | 2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 534056c..7622c70 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -20,8 +20,7 @@ set -e
 # * it's called from the reproducible_wrapper when running on the master
 # * it's called from reproducible_opewnrt_common when doing remote builds
 case $1 in
-	slave)
-		# execute the slave
+	node)
 		shift
 		$@
 		exit $?
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index d343590..e6b0d7f 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -20,8 +20,7 @@ set -e
 # * it's called from the reproducible_wrapper when running on the master
 # * it's called from reproducible_opewnrt_common when doing remote builds
 case $1 in
-	slave)
-		# execute the slave
+	node)
 		shift
 		$@
 		exit $?
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index b3f4e31..d3a81b6 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -258,7 +258,7 @@ build_two_times() {
 	TMPDIR_B1=$(ssh $HOST_B1 mktemp --tmpdir=/srv/workspace/chroots/ -d -t rbuild-lede-build-XXXXXXXX)
 	# TODO check tmpdir exist
 
-	SCRIPT="$0 slave"
+	SCRIPT="$0 node"
 	ssh $HOST_B1 $SCRIPT openwrt_build $TYPE $RUN $TARGET $CONFIG $TMPDIR_B1
 
 	# rsync back

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list