Merge "Remove SM distribution jobs"
[releng/builder.git] / jjb / integration / integration-macros-heat.yaml
1 ---
2 ################
3 # Stack 2 Type #
4 ################
5
6 # The parameter and builder macros are meant to be used together. Job templates
7 # that want to use the Stack 2 Type must declare both the parameter and builder
8 # component.
9
10 - parameter:
11     name: integration-stack-2-type
12     parameters:
13       - string:
14           name: VM_0_COUNT
15           default: "{vm_0_count}"
16           description: "Number of systems to spawn for vm 0"
17       - string:
18           name: VM_0_FLAVOR
19           default: "{vm_0_flavor}"
20           description: "VM flavor to use for vm 0"
21       - string:
22           name: VM_0_IMAGE
23           default: "{vm_0_image}"
24           description: "VM image to use for vm 0"
25       - string:
26           name: VM_1_COUNT
27           default: "{vm_1_count}"
28           description: "Number of systems to spawn for vm 1"
29       - string:
30           name: VM_1_FLAVOR
31           default: "{vm_1_flavor}"
32           description: "VM flavor to use for vm 1"
33       - string:
34           name: VM_1_IMAGE
35           default: "{vm_1_image}"
36           description: "VM image to use for vm 1"
37
38 - builder:
39     name: integration-stack-2-type
40     builders:
41       - lf-stack-create:
42           openstack-cloud: "{openstack-cloud}"
43           openstack-heat-template: "{openstack-heat-template}"
44           openstack-heat-template-dir: "{openstack-heat-template-dir}"
45           openstack-heat-parameters: |
46             vm_0_count: '$VM_0_COUNT'
47             vm_0_flavor: '$VM_0_FLAVOR'
48             vm_0_image: '$VM_0_IMAGE'
49             vm_1_count: '$VM_1_COUNT'
50             vm_1_flavor: '$VM_1_FLAVOR'
51             vm_1_image: '$VM_1_IMAGE'
52
53 ################
54 # Stack 3 Type #
55 ################
56
57 # The parameter and builder macros are meant to be used together. Job templates
58 # that want to use the Stack 3 Type must declare both the parameter and builder
59 # component.
60
61 - parameter:
62     name: integration-stack-3-type
63     parameters:
64       - string:
65           name: VM_0_COUNT
66           default: "{vm_0_count}"
67           description: "Number of systems to spawn for vm 0"
68       - string:
69           name: VM_0_FLAVOR
70           default: "{vm_0_flavor}"
71           description: "VM flavor to use for vm 0"
72       - string:
73           name: VM_0_IMAGE
74           default: "{vm_0_image}"
75           description: "VM image to use for vm 0"
76       - string:
77           name: VM_1_COUNT
78           default: "{vm_1_count}"
79           description: "Number of systems to spawn for vm 1"
80       - string:
81           name: VM_1_FLAVOR
82           default: "{vm_1_flavor}"
83           description: "VM flavor to use for vm 1"
84       - string:
85           name: VM_1_IMAGE
86           default: "{vm_1_image}"
87           description: "VM image to use for vm 1"
88       - string:
89           name: VM_2_COUNT
90           default: "{vm_2_count}"
91           description: "Number of systems to spawn for vm 2"
92       - string:
93           name: VM_2_FLAVOR
94           default: "{vm_2_flavor}"
95           description: "VM flavor to use for vm 2"
96       - string:
97           name: VM_2_IMAGE
98           default: "{vm_2_image}"
99           description: "VM image to use for vm 2"
100
101 - builder:
102     name: integration-stack-3-type
103     builders:
104       - lf-stack-create:
105           openstack-cloud: "{openstack-cloud}"
106           openstack-heat-template: "{openstack-heat-template}"
107           openstack-heat-template-dir: "{openstack-heat-template-dir}"
108           openstack-heat-parameters: |
109             vm_0_count: '$VM_0_COUNT'
110             vm_0_flavor: '$VM_0_FLAVOR'
111             vm_0_image: '$VM_0_IMAGE'
112             vm_1_count: '$VM_1_COUNT'
113             vm_1_flavor: '$VM_1_FLAVOR'
114             vm_1_image: '$VM_1_IMAGE'
115             vm_2_count: '$VM_2_COUNT'
116             vm_2_flavor: '$VM_2_FLAVOR'
117             vm_2_image: '$VM_2_IMAGE'
118
119 ################
120 # Stack 4 Type #
121 ################
122
123 # The parameter and builder macros are meant to be used together. Job templates
124 # that want to use the Stack 4 Type must declare both the parameter and builder
125 # component.
126
127 - parameter:
128     name: integration-stack-4-type
129     parameters:
130       - string:
131           name: VM_0_COUNT
132           default: "{vm_0_count}"
133           description: "Number of systems to spawn for vm 0"
134       - string:
135           name: VM_0_FLAVOR
136           default: "{vm_0_flavor}"
137           description: "VM flavor to use for vm 0"
138       - string:
139           name: VM_0_IMAGE
140           default: "{vm_0_image}"
141           description: "VM image to use for vm 0"
142       - string:
143           name: VM_1_COUNT
144           default: "{vm_1_count}"
145           description: "Number of systems to spawn for vm 1"
146       - string:
147           name: VM_1_FLAVOR
148           default: "{vm_1_flavor}"
149           description: "VM flavor to use for vm 1"
150       - string:
151           name: VM_1_IMAGE
152           default: "{vm_1_image}"
153           description: "VM image to use for vm 1"
154       - string:
155           name: VM_2_COUNT
156           default: "{vm_2_count}"
157           description: "Number of systems to spawn for vm 2"
158       - string:
159           name: VM_2_FLAVOR
160           default: "{vm_2_flavor}"
161           description: "VM flavor to use for vm 2"
162       - string:
163           name: VM_2_IMAGE
164           default: "{vm_2_image}"
165           description: "VM image to use for vm 2"
166       - string:
167           name: VM_3_COUNT
168           default: "{vm_3_count}"
169           description: "Number of systems to spawn for vm 3"
170       - string:
171           name: VM_3_FLAVOR
172           default: "{vm_3_flavor}"
173           description: "VM flavor to use for vm 3"
174       - string:
175           name: VM_3_IMAGE
176           default: "{vm_3_image}"
177           description: "VM image to use for vm 3"
178
179 - builder:
180     name: integration-stack-4-type
181     builders:
182       - lf-stack-create:
183           openstack-cloud: "{openstack-cloud}"
184           openstack-heat-template: "{openstack-heat-template}"
185           openstack-heat-template-dir: "{openstack-heat-template-dir}"
186           openstack-heat-parameters: |
187             vm_0_count: '$VM_0_COUNT'
188             vm_0_flavor: '$VM_0_FLAVOR'
189             vm_0_image: '$VM_0_IMAGE'
190             vm_1_count: '$VM_1_COUNT'
191             vm_1_flavor: '$VM_1_FLAVOR'
192             vm_1_image: '$VM_1_IMAGE'
193             vm_2_count: '$VM_2_COUNT'
194             vm_2_flavor: '$VM_2_FLAVOR'
195             vm_2_image: '$VM_2_IMAGE'
196             vm_3_count: '$VM_3_COUNT'
197             vm_3_flavor: '$VM_3_FLAVOR'
198             vm_3_image: '$VM_3_IMAGE'