aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-04-02 21:23:34 +0800
committerJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-04-02 13:43:06 +0000
commit9bde62345bc9cf94a55c3a3c78133643615d8e68 (patch)
tree67ccb49ea96730b9834ff9f55b3a6bbd20ab73ca /docker
parent3a028e433452eff21f6337da4bb7e29dcf6e117b (diff)
downloadkolla-9bde62345bc9cf94a55c3a3c78133643615d8e68.tar.gz
kolla-9bde62345bc9cf94a55c3a3c78133643615d8e68.zip
Remove the tempest version constrains in tempest container
Remove the tempest version constraint in the upper-constrains.txt file. Otherwise, it will be failed. Closes-Bug: #1565268 Change-Id: I693efe1818bfae0eac1649cbc058d1752724cd59
Diffstat (limited to 'docker')
-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