diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-30 18:27:31 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-30 18:27:31 +0200 |
commit | f09422b5f602750b97ac615a9639210f98ad1b76 (patch) | |
tree | 742440c6e3317f774219147fa1bf4fecc8764137 | |
parent | b2b07f9af9bf469beeb8b0f52b0a5ba2cbad9d36 (diff) | |
download | jenkins.debian.net-f09422b5f602750b97ac615a9639210f98ad1b76.tar.xz |
reproducible: allow to run _build.sh (1|2)
-rwxr-xr-x | bin/reproducible_node_wrapper.sh | 4 | ||||
-rw-r--r-- | 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 d9768fab..5baa1791 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 20d087ad..5924a87c 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+uSCdgN1yjoUa0fPFaWEbtEwrWfZgIAIINf jenkins@jenkins -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/raHxee0dt6gYuIDU9g7yavs0CiwFWsqLEH15WJ+fO1/nfl9EV+43FEb/ZEhR6HsPKr/MSF4wckjNva9mJtpoGOLUgToW060TTVnouIayHK8+x62elgReHy3z18MNvuPXuFJaxZYqGnJa4IDr4YvrdRe5DGpUhG/Jqp1cRUxbZ2zZC43ytV8VNXISefY38dO6HEj2H81y/RTMNmOVwNjI4Iy865Tjnrroj18P5G8ioHMU8SzKY/pzSGvdHhrfOk4uv3LZSDN4W7aSUgD2XtPDgjeADZIBE2QV4FIcAF3dT3aAYshE7hpgJUYphIAp4KxQQPsw67NWh+UFnHGybbcp4zGW3SZ8jxj8UUpuNM15JqRG+8nSiDHXmXMahzhyfFEvXBrMMGf+SIYI/CA4OLhQ== reproducible@moszumanska |