horizon: fix build in stable branches

When [1] was committed, horizon stopped building for Train.
Analogous patch is proposed to other stable branches.

This patch removes horizon from upper-constraints.

Kolla master is affected directly because we build Train
for CentOS 7 atm.

[1] 3e54878f9c

Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Change-Id: I1bd5a40eeef9612d995c81426fe510e89f438725
(cherry picked from commit 8b7ec43536)
This commit is contained in:
Marcin Juszkiewicz 2020-01-07 11:15:07 +01:00
parent 83273c87f3
commit 54c98dc29d
1 changed files with 2 additions and 0 deletions

View File

@ -143,7 +143,9 @@ ADD plugins-archive /
'/plugins/*'
] %}
# NOTE(hrw): to install horizon from unpacked sources we cannot have it in upper-constraints.txt
RUN ln -s horizon-source/* horizon \
&& sed -i /^horizon=/d /requirements/upper-constraints.txt \
&& {{ macros.install_pip(horizon_pip_packages | customizable("pip_packages")) }} \
&& mkdir -p /etc/openstack-dashboard \
&& cp -r /horizon/openstack_dashboard/conf/* /etc/openstack-dashboard/ \