[Qa-jenkins-scm] [jenkins.debian.net] 03/04: add to the vcs the jenkins' ssh authorized_keys, that enable the reproducible team to reschedule packages themselves

Holger Levsen holger at moszumanska.debian.org
Mon May 4 16:31:48 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 7cbfcfc0e6288c87a502cde3e9d5488863de21b5
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Mon May 4 18:17:50 2015 +0200

    add to the vcs the jenkins' ssh authorized_keys, that enable the reproducible team to reschedule packages themselves
---
 jenkins-home/authorized_keys | 1 +
 update_jdn.sh                | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/jenkins-home/authorized_keys b/jenkins-home/authorized_keys
new file mode 100644
index 0000000..a47f3e9
--- /dev/null
+++ b/jenkins-home/authorized_keys
@@ -0,0 +1 @@
+command="/srv/jenkins/bin/reproducible_remote_scheduler.py ${SSH_ORIGINAL_COMMAND#* }",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,from="5.153.231.21" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDpGiuER4rTtpgpvaSgHpILeln7Qq+arV6a+EhgKlxnInmV6OwA/LacqyEq8sptZYrppllmr9v1d58NVH6uGXHe0p8TYrBBaYNuuMCf2wsKdXH1VTCIiv27XYyS3iYQJnt1n4+4aae81iYA0aRbv5nV2lhlMc7MsK7jNcCxRhYtwEVPMyvLWpWeRmA7oum+0iQl5HCqV5a4Vn5/IMmH4PWGMB+Ga+EDk7XliHQthh6FpfM2biAgmcA+2Y4DTOzvtm7WJQkn3eui1J50Z5wTKBEFZ/raH [...]
diff --git a/update_jdn.sh b/update_jdn.sh
index a5ea4a7..1011f73 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -226,6 +226,11 @@ for dir in bin logparse job-cfg features live ; do
 	chown -R jenkins-adm.jenkins-adm /srv/jenkins/$dir
 done
 cp procmailrc /var/lib/jenkins/.procmailrc
+mkdir /var/lib/jenkins/.ssh
+cp jenkins-home/authorized_keys /var/lib/jenkins/.ssh/authorized_keys
+chown -R jenkins:jenkins /var/lib/jenkins/.ssh
+chmod 700 /var/lib/jenkins/.ssh
+chmod 600 /var/lib/jenkins/.ssh/authorized_keys
 explain "Jenkins updated."
 cp -pr README INSTALL TODO CONTRIBUTING d-i-preseed-cfgs /var/lib/jenkins/userContent/
 TMPFILE=$(mktemp)

-- 
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