2 heat_template_version: 2016-04-08
7 description: Name of job running this template
12 String to identify a Jenkins Master
14 Useful in scenarios where multiple Jenkins Masters might be
15 creating VMs in the same cloud to uniquely distinguish them.
17 TODO we should move to using tags once OpenStack Ocata which is
18 available to us with support for server tags properties.
21 description: SSH Key name to use (Public key must exist in OpenStack)
29 default: v1-standard-1
30 description: OpenStack Flavor to use
33 description: VM Image to spin up
37 type: "OS::Nova::Server"
39 flavor: {get_param: vm_flavor}
40 block_device_mapping_v2:
41 - image: {get_param: vm_image}
42 delete_on_termination: true
46 template: SILO-JOB_NAME-GROUP-VM_TYPE-INDEX
48 "SILO": {get_param: silo}
49 "JOB_NAME": {get_param: job_name}
53 - {get_param: vm_image}
55 "GROUP": {get_param: group}
56 "INDEX": {get_param: index}
59 key_name: {get_param: ssh_key}
62 until host git.opendaylight.org &>/dev/null
64 echo "Waiting until git.opendaylight.org is resolvable..."
66 git clone https://git.opendaylight.org/gerrit/releng/builder /builder
67 /builder/jenkins-scripts/jenkins-init-script.sh
71 description: IP address of the instance
72 value: {get_attr: [instance, networks, odlci, 0]}