Zack Williams | e05f754 | 2021-02-09 17:14:21 -0700 | [diff] [blame^] | 1 | These scripts are run at boot time of a VM to configure it as a Jenkins minion. |
Linux Foundation Administrators | 0fae409 | 2018-01-29 10:58:36 -0800 | [diff] [blame] | 2 | |
Zack Williams | e05f754 | 2021-02-09 17:14:21 -0700 | [diff] [blame^] | 3 | See the upstream LF project for where they originated: |
Linux Foundation Administrators | 0fae409 | 2018-01-29 10:58:36 -0800 | [diff] [blame] | 4 | |
Zack Williams | e05f754 | 2021-02-09 17:14:21 -0700 | [diff] [blame^] | 5 | https://gerrit.linuxfoundation.org/infra/gitweb?p=releng/global-jjb.git;a=tree;f=jenkins-init-scripts;hb=HEAD |
| 6 | |
| 7 | Our versions differ from LF's in a number of ways: |
| 8 | |
| 9 | - More secure SSH defaults |
| 10 | - Omit unneeded portions of the scripts |
| 11 | |
| 12 | On bootstrap a script is provided as EC2 User Data that will pull down this |
| 13 | repo and run the init script. It should look like: |
| 14 | |
| 15 | #!/bin/bash |
| 16 | |
| 17 | # Clone the management repo |
| 18 | git clone https://gerrit.opencord.org/ci-management.git /ci-management |
| 19 | /ci-management/jenkins-scripts/jenkins-init-script.sh |
| 20 | |
| 21 | # clean-up from the init run |
| 22 | rm -rf /ci-management |
| 23 | |