Skip to content

Commit be0373c

Browse files
gtherondmarkgoddard
authored andcommitted
Fix missing templating block for kolla-toolbox.
Change-Id: I4ce8244a3fb034493a75f4096de2640e11b48931 Closes-Bug: #1931867 (cherry picked from commit fb218ff)
1 parent b9eac37 commit be0373c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docker/kolla-toolbox/Dockerfile.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
7272
'virtualenv'
7373
] %}
7474

75+
{% block kolla_toolbox_upper_constraints %}
7576
RUN mkdir -p /requirements \
7677
&& curl -sSL -o /requirements/upper-constraints.txt https://releases.openstack.org/constraints/upper/{{ openstack_release }} \
7778
&& {{ macros.install_pip(kolla_toolbox_pip_virtualenv_packages | customizable("pip_virtualenv_packages")) }} \
7879
&& virtualenv --system-site-packages {{ virtualenv_path }}
80+
{% endblock %}
7981

8082
ENV PATH {{ virtualenv_path }}/bin:$PATH
8183

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- |
4+
Add templating block for kolla-toolbox image helping to customize
5+
upper-constraints URL used at build time for offline build scenario.

0 commit comments

Comments
 (0)