From 1ec94dbea32db03375698425d07f456faf86ee61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Tue, 27 Sep 2022 16:17:36 +0200 Subject: [PATCH] [release-monitoring] Move bootstrap fedora to correct folder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move fedora bootstrap package to correct folder that is used by Anitya deployment. We first need to remove symlink, which is not being included inside wheel package. Signed-off-by: Michal Konečný --- .../release-monitoring/templates/buildconfig.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml index cdf367be32..1ef4dd7369 100644 --- a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml +++ b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml @@ -71,8 +71,9 @@ items: {% if env == 'staging' %} poetry build && \ pip-3 install dist/*.whl && \ - # Copy the symlink, it's not part of wheel - cp anitya/static/bootstrap /usr/local/lib/python3.10/site-packages/anitya/static/ + # Move bootstrap to correct folder + rm -f anitya/static/bootstrap + mv anitya/static/bootstrap-3.3.4-fedora anitya/static/bootstrap {% else %} python3 setup.py install && \ pip-3 install . && \