[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: allow to run _build.sh (1|2)
Holger Levsen
holger at moszumanska.debian.org
Sun Aug 30 16:27:56 UTC 2015
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 f09422b5f602750b97ac615a9639210f98ad1b76
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Aug 30 18:27:31 2015 +0200
reproducible: allow to run _build.sh (1|2)
---
bin/reproducible_node_wrapper.sh | 4 +++-
jenkins-nodes-home/authorized_keys | 1 -
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh
index d9768fa..5baa179 100755
--- a/bin/reproducible_node_wrapper.sh
+++ b/bin/reproducible_node_wrapper.sh
@@ -59,7 +59,9 @@ info "remote_host called with $*"
allowed_cmds=()
-if [ "$*" = "reproducible_setup_pbuilder_testing_armhf_bpi0" ] ; then
+if [ "$1" = "/srv/jenkins/bin/reproducible_build.sh" ] && ( [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then
+ exec /srv/jenkins/bin/reproducible_build.sh $2 $3 $4 ; croak "Exec failed";
+elif [ "$*" = "reproducible_setup_pbuilder_testing_armhf_bpi0" ] ; then
exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed";
elif [ "$*" = "reproducible_maintenance_armhf_bpi0" ] ; then
exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
diff --git a/jenkins-nodes-home/authorized_keys b/jenkins-nodes-home/authorized_keys
index 20d087a..5924a87 100644
--- a/jenkins-nodes-home/authorized_keys
+++ b/jenkins-nodes-home/authorized_keys
@@ -1,2 +1 @@
command="/srv/jenkins/bin/reproducible_node_wrapper.sh",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,from="78.137.96.196" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSPYH1KKv6PsW0IgNcPbI/l2rjhxPaOGT/lbgaPzVjwPWlqHAEB0PctzNzkduRiaEMhTmcDTCsMOVkBGiPMmuBltqzpGSjcAc3v/sDYaDn+Onj5pTaG8HBMKqxOQP9I24xNjb21tRrmRSDAUrSHHiEm2Lu64efA3vE/L447ZYs53aLd2fBt0zoFKHswasFR57y6y9/3VJTdAnGrAIq9QxnMi2Tbg/KZDiYYmodfCMrAnATTkwGntcINz7FO/HAxHAs1YryzuoDOA02Xqxg4uzlxQgkL91/OhKVKd+2TBg+FAVUkiCKY+uSCdg [...]
-command="/srv/jenkins/bin/reproducible_build.sh ${SSH_ORIGINAL_COMMAND#* }",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,from="78.137.96.196" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDpGiuER4rTtpgpvaSgHpILeln7Qq+arV6a+EhgKlxnInmV6OwA/LacqyEq8sptZYrppllmr9v1d58NVH6uGXHe0p8TYrBBaYNuuMCf2wsKdXH1VTCIiv27XYyS3iYQJnt1n4+4aae81iYA0aRbv5nV2lhlMc7MsK7jNcCxRhYtwEVPMyvLWpWeRmA7oum+0iQl5HCqV5a4Vn5/IMmH4PWGMB+Ga+EDk7XliHQthh6FpfM2biAgmcA+2Y4DTOzvtm7WJQkn3eui1J50Z5wTKBEFZ/raHxee0dt6gYu [...]
--
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