119c11612f16800b049fdeb39ae7e656cf8d2a8c
wiki/howto/development/ci.md
| ... | ... | @@ -68,6 +68,11 @@ 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 | + # For Ubuntu 22.x install libssl1.1: |
|
| 72 | + wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb |
|
| 73 | + dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb |
|
| 74 | + rm libssl1.1_1.1.1f-1ubuntu2_amd64.deb |
|
| 75 | + # For all O/S versions: |
|
| 71 | 76 | dd if=/dev/zero of=/var/cache/swapfile bs=1G count=20 |
| 72 | 77 | chmod 600 /var/cache/swapfile |
| 73 | 78 | mkswap /var/cache/swapfile |
| ... | ... | @@ -126,6 +131,8 @@ The image has been crafted specifically to contain the tools required for the bu |
| 126 | 131 | sudo -u sailing ssh -o StrictHostKeyChecking=false trac@sapsailing.com ls >/dev/null |
| 127 | 132 | sudo -u sailing git clone trac@sapsailing.com:/home/trac/git /home/sailing/code |
| 128 | 133 | sudo -u hudson mkdir /home/hudson/.m2 |
| 134 | + chmod a+r /home/sailing |
|
| 135 | + chmod a+x /home/sailing |
|
| 129 | 136 | sudo -u hudson cp /home/sailing/code/toolchains.xml /home/hudson/.m2 |
| 130 | 137 | sudo -u hudson ssh -o StrictHostKeyChecking=false trac@sapsailing.com ls >/dev/null |
| 131 | 138 | echo "export JAVA_HOME=/opt/sapjvm_8" >/etc/profile.d/sapjvm.sh |