Use new stack macros from global-jjb csit-1node
[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'