Merge "Refactor tests/templates/globals.yml"
This commit is contained in:
commit
0bc44c9ae9
@ -1,22 +1,21 @@
|
|||||||
---
|
---
|
||||||
kolla_base_distro: "{{ base_distro }}"
|
kolla_base_distro: "{{ base_distro }}"
|
||||||
kolla_install_type: "{{ install_type }}"
|
kolla_install_type: "{{ install_type }}"
|
||||||
|
network_interface: "{{ api_interface_name }}"
|
||||||
|
docker_restart_policy: "never"
|
||||||
|
|
||||||
# Use a random router id, otherwise it may result in the same router id
|
# Use a random router id, otherwise it may result in the same router id
|
||||||
# in the CI gate.
|
# in the CI gate.
|
||||||
keepalived_virtual_router_id: "{{ 250 | random(1) }}"
|
keepalived_virtual_router_id: "{{ 250 | random(1) }}"
|
||||||
|
|
||||||
{% if scenario != "bifrost" %}
|
{% if enable_core_openstack | bool %}
|
||||||
{% if hostvars|length > 2 %}
|
kolla_internal_vip_address: "{{ api_interface_address if hostvars | length > 2 else '169.254.169.10' }}"
|
||||||
kolla_internal_vip_address: "{{ api_interface_address }}"
|
enable_haproxy: "{{ 'no' if hostvars | length > 2 else 'yes' }}"
|
||||||
enable_haproxy: "no"
|
neutron_external_interface: "fake_interface"
|
||||||
{% else %}
|
openstack_logging_debug: "True"
|
||||||
kolla_internal_vip_address: "169.254.169.10"
|
openstack_service_workers: "1"
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
network_interface: "{{ api_interface_name }}"
|
|
||||||
docker_restart_policy: "never"
|
|
||||||
{% if need_build_image %}
|
{% if need_build_image %}
|
||||||
# NOTE(Jeffrey4l): use different a docker namespace name in case it pull image from hub.docker.io when deplying
|
# NOTE(Jeffrey4l): use different a docker namespace name in case it pull image from hub.docker.io when deplying
|
||||||
docker_namespace: "lokolla"
|
docker_namespace: "lokolla"
|
||||||
@ -26,22 +25,15 @@ docker_registry: "{{ api_interface_address }}:4000"
|
|||||||
docker_namespace: "kolla"
|
docker_namespace: "kolla"
|
||||||
openstack_release: "{{ zuul.branch | basename }}"
|
openstack_release: "{{ zuul.branch | basename }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if scenario != "bifrost" %}
|
|
||||||
neutron_external_interface: "fake_interface"
|
|
||||||
enable_horizon: "yes"
|
|
||||||
enable_heat: "no"
|
|
||||||
openstack_logging_debug: "True"
|
|
||||||
openstack_service_workers: "1"
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
# This is experimental feature, disable if gate fail.
|
|
||||||
glance_enable_rolling_upgrade: "yes"
|
|
||||||
|
|
||||||
{% if scenario == "ceph" %}
|
{% if scenario == "ceph" %}
|
||||||
enable_ceph: "yes"
|
enable_ceph: "yes"
|
||||||
enable_cinder: "yes"
|
enable_cinder: "yes"
|
||||||
ceph_pool_pg_num: 8
|
ceph_pool_pg_num: 8
|
||||||
ceph_pool_pgp_num: 8
|
ceph_pool_pgp_num: 8
|
||||||
|
# This is experimental feature, disable if gate fail.
|
||||||
|
# In multinode jobs without ceph rolling upgrade fails.
|
||||||
|
glance_enable_rolling_upgrade: "yes"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if scenario == "zun" %}
|
{% if scenario == "zun" %}
|
||||||
@ -49,5 +41,3 @@ enable_zun: "yes"
|
|||||||
enable_kuryr: "yes"
|
enable_kuryr: "yes"
|
||||||
docker_custom_option: " -H unix:///var/run/docker.sock -H tcp://{{ api_interface_address }}:2375"
|
docker_custom_option: " -H unix:///var/run/docker.sock -H tcp://{{ api_interface_address }}:2375"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
keystone_token_provider: "fernet"
|
|
||||||
|
@ -35,7 +35,7 @@ EOF
|
|||||||
rm ${PIP_CONF}
|
rm ${PIP_CONF}
|
||||||
|
|
||||||
if [[ $ACTION != "bifrost" ]]; then
|
if [[ $ACTION != "bifrost" ]]; then
|
||||||
GATE_IMAGES="cron,fluentd,glance,haproxy,keepalived,keystone,kolla-toolbox,mariadb,memcached,neutron,nova,openvswitch,rabbitmq,horizon,chrony"
|
GATE_IMAGES="cron,fluentd,glance,haproxy,keepalived,keystone,kolla-toolbox,mariadb,memcached,neutron,nova,openvswitch,rabbitmq,horizon,chrony,heat"
|
||||||
else
|
else
|
||||||
GATE_IMAGES="bifrost"
|
GATE_IMAGES="bifrost"
|
||||||
fi
|
fi
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
- ^releasenotes/.*$
|
- ^releasenotes/.*$
|
||||||
vars:
|
vars:
|
||||||
scenario: aio
|
scenario: aio
|
||||||
|
enable_core_openstack: yes
|
||||||
roles:
|
roles:
|
||||||
- zuul: openstack-infra/zuul-jobs
|
- zuul: openstack-infra/zuul-jobs
|
||||||
|
|
||||||
@ -25,3 +26,4 @@
|
|||||||
vars:
|
vars:
|
||||||
scenario: bifrost
|
scenario: bifrost
|
||||||
install_type: source
|
install_type: source
|
||||||
|
enable_core_openstack: no
|
||||||
|
Loading…
Reference in New Issue
Block a user