CI use '--skip-nodes-and-networks' in oc deploy

Since the CI run's the commands to provision networks,
virtual IPs and baremetal nodes individually prior to
running overcloud deploy we can disable these steps
when running overcloud deploy.

NOTE: 'network_provison' is only set to True for Wallaby
and later releases.

Depends-On: I2fa073863f2d292575ee1dbdc0da271434f219f6
Change-Id: I8008344f215be6a54e00d7d27b697375b7f88f0f
This commit is contained in:
Harald Jensås 2021-06-29 09:48:42 +02:00
parent 15b7b6ce5d
commit a48818b803
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ fi
## * Deploy the overcloud!
## ::
openstack overcloud deploy --stack {{ stack_name }} \
{% if network_provision|bool %}--skip-nodes-and-networks{% endif %} \
{% 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", " ") }} \