aboutsummaryrefslogtreecommitdiff
path: root/tests/templates
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2025-05-19 14:53:43 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2025-06-05 20:38:26 +0000
commit3a7236ef1df417e3c861fdf5d55ac2bf4504c2e0 (patch)
tree6e79ff807bb1193cf8175c44f6e5f764ced1e314 /tests/templates
parent35b132a2b3b3a7ec32239b0f1010f5670c97a368 (diff)
downloadkolla-ansible-3a7236ef1df417e3c861fdf5d55ac2bf4504c2e0.tar.gz
kolla-ansible-3a7236ef1df417e3c861fdf5d55ac2bf4504c2e0.zip
[CI] Enable virtualenv testing for Debian/Ubuntu
This patch enables testing with a runtime virtualenv on Debian and Ubuntu in CI jobs and without for RHEL derivatives. Summary: - Deployments on Debian/Ubuntu now test virtualenv creation logic. Change-Id: I5d4c5d960441025da1fc1b6f197b03476b1be1a9
Diffstat (limited to 'tests/templates')
-rw-r--r--tests/templates/globals-default.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2
index 08b882b45..fe7950e65 100644
--- a/tests/templates/globals-default.j2
+++ b/tests/templates/globals-default.j2
@@ -1,6 +1,9 @@
---
+# Debian, ubuntu - venv
+# RHEL family - non-venv
+{% if base_distro in ["debian", "ubuntu"] %}
virtualenv: "{{ kolla_runtime_venv_path }}"
-ansible_python_interpreter: "{{ kolla_runtime_venv_path }}/bin/python"
+{% endif %}
kolla_base_distro: "{{ base_distro }}"
network_interface: "{{ api_interface_name }}"