blob: 0c74035a5e5b05b2f16d6ffaa8ec45df101915f4 [file] [log] [blame]
Zack Williamse05f7542021-02-09 17:14:21 -07001These scripts are run at boot time of a VM to configure it as a Jenkins minion.
Linux Foundation Administrators0fae4092018-01-29 10:58:36 -08002
Zack Williamse05f7542021-02-09 17:14:21 -07003See the upstream LF project for where they originated:
Linux Foundation Administrators0fae4092018-01-29 10:58:36 -08004
Zack Williamse05f7542021-02-09 17:14:21 -07005 https://gerrit.linuxfoundation.org/infra/gitweb?p=releng/global-jjb.git;a=tree;f=jenkins-init-scripts;hb=HEAD
6
7Our versions differ from LF's in a number of ways:
8
9- More secure SSH defaults
10- Omit unneeded portions of the scripts
11
12On bootstrap a script is provided as EC2 User Data that will pull down this
13repo 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