Run zookeeper installation for validate job
Depends-On: https://review.opendev.org/c/openstack/ansible-role-zookeeper/+/865449 Change-Id: I5da11b989dae712a1dac70358d5aee1274a0d00b
This commit is contained in:
parent
19d08ce58e
commit
9335103807
@ -48,7 +48,7 @@ bootstrap_host_scenarios_expanded: |-
|
||||
{% if 'calico' in bootstrap_host_scenarios %}
|
||||
{% set _ = scenario_list.extend(['etcd']) %}
|
||||
{% endif %}
|
||||
{% if 'designate' in bootstrap_host_scenarios %}
|
||||
{% if 'designate' in bootstrap_host_scenarios or ('validate' in bootstrap_host_scenarios and 'integrated' in bootstrap_host_scenarios) %}
|
||||
{% set _ = scenario_list.extend(['zookeeper']) %}
|
||||
{% endif %}
|
||||
{% if 'ironic' in bootstrap_host_scenarios %}
|
||||
|
@ -273,6 +273,7 @@
|
||||
- ^playbooks\/healthcheck-infrastructure.yml
|
||||
- ^playbooks\/repo-install.yml
|
||||
- ^playbooks\/haproxy-install.yml
|
||||
- ^playbooks\/zookeeper-install.yml
|
||||
|
||||
# Running linters check
|
||||
- job:
|
||||
|
@ -48,6 +48,8 @@
|
||||
%}
|
||||
{% elif zuul.project.short_name == 'ansible-hardening' %}
|
||||
{% set role_service_name = 'hardening' %}
|
||||
{% elif zuul.project.short_name == 'openstack-ansible' %}
|
||||
{% set role_service_name = 'integrated' %}
|
||||
{% endif %}
|
||||
{% if role_service_name is defined %}
|
||||
{% set _ = _scenario.append(role_service_name) %}
|
||||
@ -57,6 +59,9 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if zuul.job is match('^openstack-ansible-(deploy|upgrade)-([^-]+)-validate') %}
|
||||
{% set _ = _scenario.append('validate') %}
|
||||
{% endif %}
|
||||
{# If running linters we need to provide name of the role as a scenario w/o splitting #}
|
||||
{% if zuul.job is match('^openstack-ansible-linters-.*$') %}
|
||||
{% for prefix in ['openstack-ansible', 'ansible-role'] %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user