Fix missing templating block for kolla-toolbox.

Change-Id: I4ce8244a3fb034493a75f4096de2640e11b48931
Closes-Bug: #1931867
This commit is contained in:
Gaël THEROND (Fl1nt) 2021-07-23 16:04:52 +02:00
parent a1c6ef413c
commit fb218ff9bf
2 changed files with 7 additions and 0 deletions

View File

@ -72,10 +72,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'virtualenv'
] %}
{% block kolla_toolbox_upper_constraints %}
RUN mkdir -p /requirements \
&& curl -o /requirements/upper-constraints.txt https://releases.openstack.org/constraints/upper/{{ openstack_release }} \
&& {{ macros.install_pip(kolla_toolbox_pip_virtualenv_packages | customizable("pip_virtualenv_packages")) }} \
&& virtualenv --system-site-packages {{ virtualenv_path }}
{% endblock %}
ENV PATH {{ virtualenv_path }}/bin:$PATH

View File

@ -0,0 +1,5 @@
---
features:
- |
Add templating block for kolla-toolbox image helping to customize
upper-constraints URL used at build time for offline build scenario.