Override cirros image via featureset_override

Replace hardcoded cirros image w/ a default and
enable featureset_override to set a custom cirros
image.

Depends-On: https://review.opendev.org/731232
Change-Id: I5fccfbfd15cfba5b2f515c974bb6483dafb78efd
This commit is contained in:
Rafael Folco 2020-05-27 11:46:50 -03:00
parent 03a75eb6c9
commit 30cc3c38be

@ -63,9 +63,11 @@
when: tempest_install_method == 'source'
- name: set cirros image facts for periodic
vars:
default_cirros_image: http://images.rdoproject.org/cirros/cirros-0.4.0-x86_64-disk.img
set_fact:
tempest_tempestconf_profile_extras:
image: http://images.rdoproject.org/cirros/cirros-0.4.0-x86_64-disk.img
image: "{{ featureset_override['cirros_image'] | default(default_cirros_image) }}"
# stackviz in venv pulls oslo.db due upstream constraints,
# but it dropped py2 support so on such system we need to skip it