~fginther/charms/trusty/jenkins-remote-slave/add-ntp

« back to all changes in this revision

Viewing changes to hooks/install.d/4000-lp-keys.sh

  • Committer: Francis Ginther
  • Date: 2014-10-02 20:46:12 UTC
  • mfrom: (13.1.19 jenkins-phablet-slave)
  • Revision ID: francis.ginther@canonical.com-20141002204612-w8vh2bb4xsdy3qlv
Allow specification of a jenkins master and slave name to connect to instead of a master set via a relationship. Add provisioning scripts to setup an adb host and keys for operation with the ci-team's existing jobs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
set -ex
 
3
 
 
4
install --owner=jenkins --group=jenkins -d \
 
5
        /var/lib/jenkins/.ssh/bazaar.launchpad.net/ps-jenkins \
 
6
        /var/lib/jenkins/.bazaar
 
7
 
 
8
install --owner=jenkins --group=jenkins --mode=600 \
 
9
        files/secrets/id_rsa \
 
10
        /var/lib/jenkins/.ssh/bazaar.launchpad.net/ps-jenkins/
 
11
install --owner=jenkins --group=jenkins \
 
12
        files/lp/config files/secrets/known_hosts \
 
13
        /var/lib/jenkins/.ssh/
 
14
install --owner=jenkins --group=jenkins \
 
15
        files/lp/authentication.conf files/lp/bazaar.conf \
 
16
        /var/lib/jenkins/.bazaar
 
17
install --owner=jenkins --group=jenkins \
 
18
        files/secrets/.launchpad.credentials \
 
19
        /var/lib/jenkins