1 generated_templates = \
3 overcloud-with-block-storage-nfs.yaml \
6 undercloud-vm-tuskar.yaml \
7 undercloud-vm-ironic.yaml
9 # Files included in overcloud-source.yaml via FileInclude
10 overcloud_source_deps = nova-compute-instance.yaml
12 all: $(generated_templates)
14 overcloud.yaml: overcloud-source.yaml block-storage.yaml swift-deploy.yaml swift-source.yaml swift-storage-source.yaml ssl-source.yaml nova-compute-config.yaml $(overcloud_source_deps)
15 python ./tripleo_heat_merge/merge.py --scale NovaCompute=$${COMPUTESCALE:-'1'} --scale SwiftStorage=$${SWIFTSTORAGESCALE='0'} --scale BlockStorage=$${BLOCKSTORAGESCALE='0'} overcloud-source.yaml block-storage.yaml swift-source.yaml swift-storage-source.yaml ssl-source.yaml swift-deploy.yaml nova-compute-config.yaml > $@.tmp
18 overcloud-with-block-storage-nfs.yaml: overcloud-source.yaml block-storage-nfs.yaml nfs-server-source.yaml swift-source.yaml swift-storage-source.yaml ssl-source.yaml $(overcloud_source_deps)
19 # $^ won't work here because we want to list nova-compute-instance.yaml as
20 # a prerequisite but don't want to pass it into merge.py
21 python ./tripleo_heat_merge/merge.py --scale NovaCompute=$${COMPUTESCALE:-'1'} --scale SwiftStorage=$${SWIFTSTORAGESCALE='0'} --scale BlockStorage=$${BLOCKSTORAGESCALE:-'1'} overcloud-source.yaml block-storage-nfs.yaml nfs-server-source.yaml swift-source.yaml swift-storage-source.yaml ssl-source.yaml > $@.tmp
24 undercloud-vm.yaml: undercloud-source.yaml undercloud-vm-nova-config.yaml undercloud-vm-nova-deploy.yaml
25 python ./tripleo_heat_merge/merge.py $^ > $@.tmp
28 undercloud-bm.yaml: undercloud-source.yaml undercloud-bm-nova-config.yaml undercloud-bm-nova-deploy.yaml
29 python ./tripleo_heat_merge/merge.py $^ > $@.tmp
32 undercloud-vm-tuskar.yaml: undercloud-source.yaml undercloud-vm-source.yaml tuskar-source.yaml
33 python ./tripleo_heat_merge/merge.py $^ > $@.tmp
36 undercloud-vm-ironic.yaml: undercloud-source.yaml undercloud-vm-ironic-config.yaml undercloud-vm-ironic-deploy.yaml
37 python ./tripleo_heat_merge/merge.py $^ > $@.tmp
46 rm -f $(generated_templates)
48 .PHONY: clean overcloud.yaml check