aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/tempest/Dockerfile.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/tempest/Dockerfile.j2 b/docker/tempest/Dockerfile.j2
index b259a1054..0d7eee942 100644
--- a/docker/tempest/Dockerfile.j2
+++ b/docker/tempest/Dockerfile.j2
@@ -18,7 +18,10 @@ RUN apt-get install -y --no-install-recommends \
{% elif install_type == 'source' %}
ADD tempest-archive /tempest-source
+# NOTE(Jeffrey4l): remove the tempest version constraint in the
+# upper-constrains.txt file. Otherwise, it will be failed.
RUN ln -s tempest-source/* tempest \
+ && sed -i 's/^tempest===.*$//' requirements/upper-constraints.txt \
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /tempest \
&& mkdir -p /etc/tempest /var/log/tempest /etc/tempest/tempest_lock