diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2020-08-06 15:46:06 +0200 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2020-08-07 09:28:24 +0200 |
| commit | 7c08f42b2cce477b13cf1252e09852b9de5aa70f (patch) | |
| tree | 6d15e5dbb2f1095be0be4f5046808da907f208af /tests | |
| parent | 644f74b185a8154d3eebba5a5708e317c35ac580 (diff) | |
| download | kolla-ansible-7c08f42b2cce477b13cf1252e09852b9de5aa70f.tar.gz kolla-ansible-7c08f42b2cce477b13cf1252e09852b9de5aa70f.zip | |
CI: add kolla_python_version variable
Change-Id: Ic697729bda80bfb83171bf68223a2703b8318aad
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/templates/globals-default.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index c548417b5..a7641fdf0 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -15,6 +15,10 @@ docker_custom_config: registry-mirrors: - {{ infra_dockerhub_mirror }} +{% if kolla_python_version is defined and not is_previous_release %} +distro_python_version: "{{ kolla_python_version }}" +{% endif %} + # Use a random router id, otherwise it may result in the same router id # in the CI gate. keepalived_virtual_router_id: "{{ 250 | random(1) }}" |
