Merge "Fix missing templating block for kolla-toolbox."

This commit is contained in:
Zuul 2021-07-26 10:36:58 +00:00 committed by Gerrit Code Review
commit d90d87d17e
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.