Browse Source

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)
tags/8.0.2
Marcin Juszkiewicz 3 months ago
parent
commit
54c98dc29d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docker/horizon/Dockerfile.j2

+ 2
- 0
docker/horizon/Dockerfile.j2 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/ \


Loading…
Cancel
Save