Skip to content

Commit 09cecc9

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 f28f4a9 commit 09cecc9

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
@@ -69,10 +69,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
6969
'virtualenv'
7070
] %}
7171

72+
{% block kolla_toolbox_upper_constraints %}
7273
RUN mkdir -p /requirements \
7374
&& curl -sSL -o /requirements/upper-constraints.txt https://releases.openstack.org/constraints/upper/{{ openstack_release }} \
7475
&& {{ macros.install_pip(kolla_toolbox_pip_virtualenv_packages | customizable("pip_virtualenv_packages")) }} \
7576
&& virtualenv --system-site-packages {{ virtualenv_path }}
77+
{% endblock %}
7678

7779
ENV PATH {{ virtualenv_path }}/bin:$PATH
7880

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)