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
This commit is contained in:
parent
7c116653e3
commit
8b7ec43536
|
@ -157,7 +157,9 @@ ADD plugins-archive /
|
||||||
'/plugins/*'
|
'/plugins/*'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
|
# NOTE(hrw): to install horizon from unpacked sources we cannot have it in upper-constraints.txt
|
||||||
RUN ln -s horizon-source/* horizon \
|
RUN ln -s horizon-source/* horizon \
|
||||||
|
&& sed -i /^horizon=/d /requirements/upper-constraints.txt \
|
||||||
&& {{ macros.install_pip(horizon_pip_packages | customizable("pip_packages")) }} \
|
&& {{ macros.install_pip(horizon_pip_packages | customizable("pip_packages")) }} \
|
||||||
&& mkdir -p /etc/openstack-dashboard \
|
&& mkdir -p /etc/openstack-dashboard \
|
||||||
&& cp -r /horizon/openstack_dashboard/conf/* /etc/openstack-dashboard/ \
|
&& cp -r /horizon/openstack_dashboard/conf/* /etc/openstack-dashboard/ \
|
||||||
|
|
Loading…
Reference in New Issue