Don't run ephemeral heat for non enabled scenarios

We can convert other jobs and finally remove this.

Change-Id: Ic0c408d66635ab1a34b698fe36627a02bd196305
This commit is contained in:
ramishra
2021-05-28 13:00:42 +05:30
parent 7470f4389e
commit 149476a816

View File

@@ -62,10 +62,11 @@ fi
## * Deploy the overcloud!
## ::
openstack overcloud deploy --stack {{ stack_name }} {% if release is not in ['newton', 'ocata', 'pike', 'queens'] %}--override-ansible-cfg {{ working_dir }}/custom_ansible.cfg{% endif %} \
--templates {{overcloud_templates_path}} \
{{ deploy_args | regex_replace("\n", " ") }} \
"$@" && status_code=0 || status_code=$?
openstack overcloud deploy --stack {{ stack_name }} \
{% if release is not in ['newton', 'ocata', 'pike', 'queens'] %}--override-ansible-cfg {{ working_dir }}/custom_ansible.cfg{% endif %} \
{% if release not in ['queens', 'stein', 'train', 'ussuri', 'victoria'] and not (ephemeral_heat|bool) %}--heat-type installed{% endif %} --templates {{overcloud_templates_path}} \
{{ deploy_args | regex_replace("\n", " ") }} \
"$@" && status_code=0 || status_code=$?
### --stop_docs