瀏覽代碼

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/7.1.0
Marcin Juszkiewicz 2 月之前
父節點
當前提交
9bd33bdfc7
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      docker/horizon/Dockerfile.j2

+ 2
- 0
docker/horizon/Dockerfile.j2 查看文件

@@ -130,7 +130,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…
取消
儲存