diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-07-09 01:03:18 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-07-09 01:03:18 +0000 |
commit | a7f2a2c928e9c78a18defb68feb40da8c7eb95d6 (patch) | |
tree | 2c8ec365aa785efbf6d011cdfe3d9c8879e5bec3 | |
parent | 303200408bd64fa0e6b8385ea13dfe0b4fd39df6 (diff) | |
parent | b127d38aa8ce7873b447bfa57f6a853b2441db5a (diff) |
Merge "Make target to validate a template"
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,6 +9,10 @@ generated_templates = \ overcloud_source_deps = nova-compute-instance.yaml all: $(generated_templates) +VALIDATE := $(patsubst %,validate-%,$(generated_templates)) +validate-all: $(VALIDATE) +$(VALIDATE): + heat template-validate -f $(subst validate-,,$@) 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) python ./tripleo_heat_merge/merge.py --scale NovaCompute=$${COMPUTESCALE:-'1'} --scale controller=$${CONTROLSCALE:-'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 |