Skip to content

Commit

Permalink
Merge "Fix symlinking of openstack-base source"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 3, 2024
2 parents 1fb183a + 978a286 commit c63961f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docker/openstack-base/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'pika',
'prettytable',
'psutil',
'/pycadf',
'/plugins/pycadf*',
'pyinotify',
'pymysql',
'pyngus',
Expand Down Expand Up @@ -182,13 +182,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
%}

ADD openstack-base-archive /openstack-base-source
ADD plugins-archive /openstack-base-source
ADD plugins-archive /

RUN ln -s openstack-base-source/plugins/* /pycadf \
&& mkdir -p /etc/pycadf \
&& cp /pycadf/etc/pycadf/* /etc/pycadf/
RUN mkdir -p /etc/pycadf \
&& cp /plugins/pycadf*/etc/pycadf/* /etc/pycadf/

RUN ln -s openstack-base-source/*requirements* /requirements \
RUN ln -s openstack-base-source/* /requirements \

{# NOTE(mnasiadka): Remove ovs from upper-constraints.txt because python3-openvswitch
is usually newer than UC entry and older version would get installed
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/fix-git-build-23c8fe6c4b0d92c4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Fixed a bug preventing image builds when requirements are provided from
git type source.
`LP#2074075 <https://bugs.launchpad.net/kolla/+bug/2074075>`__

0 comments on commit c63961f

Please sign in to comment.