0a2ae92e481781682b5413334b959c85603ca066
wiki/howto/development/ci.md
| ... | ... | @@ -68,8 +68,10 @@ The image has been crafted specifically to contain the tools required for the bu |
| 68 | 68 | scp -o StrictHostKeyChecking=false trac@sapsailing.com:/home/wiki/gitwiki/configuration/imageupgrade_functions.sh /tmp |
| 69 | 69 | scp -o StrictHostKeyChecking=false trac@sapsailing.com:/home/wiki/gitwiki/configuration/hudson_slave_setup/* /tmp |
| 70 | 70 | sudo -i |
| 71 | + mkdir /opt/android-sdk-linux |
|
| 72 | + echo "dev.internal.sapsailing.com:/home/hudson/android-sdk-linux /opt/android-sdk-linux nfs tcp,intr,timeo=100,retry=0" >>/etc/fstab |
|
| 71 | 73 | apt-get update |
| 72 | - apt-get install -y unzip xvfb libxi6 libgconf-2-4 |
|
| 74 | + apt-get install -y unzip xvfb libxi6 libgconf-2-4 nfs-common |
|
| 73 | 75 | curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add |
| 74 | 76 | wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - |
| 75 | 77 | echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list |
| ... | ... | @@ -98,6 +100,8 @@ The image has been crafted specifically to contain the tools required for the bu |
| 98 | 100 | sudo -u hudson mkdir /home/hudson/.ssh |
| 99 | 101 | sudo -u hudson chmod 700 /home/hudson/.ssh |
| 100 | 102 | sudo -u hudson mkdir /home/hudson/workspace |
| 103 | + sudo -u hudson git config --global user.email "hudson@sapsailing.com" |
|
| 104 | + sudo -u hudson git config --global user.name "Hudson CI SAP Sailing Analytics" |
|
| 101 | 105 | # Now add a password-less private ssh key "id_rsa" to /home/sailing/.ssh and make sure it is eligible to access trac@sapsailing.com |
| 102 | 106 | chmod 600 /home/sailing/.ssh/id_* |
| 103 | 107 | cp /home/sailing/.ssh/id_* /home/hudson/.ssh |