From 1de6caa03963156247424a88ee283cd46cad3ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Tue, 27 Sep 2022 16:37:54 +0200 Subject: [PATCH] [release-monitoring] Move the folder before anitya build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I moved the folder after, not before. Let's fix that. Also it seems that the docs folder is still missing, let's keep the anitya folder for further debugging. Signed-off-by: Michal Konečný --- .../release-monitoring/templates/buildconfig.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml index 828c65b7cb..7e4aa6cb26 100644 --- a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml +++ b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml @@ -69,17 +69,18 @@ items: cp -r _build/html/* ../anitya/static/docs/ && \ popd && \ {% if env == 'staging' %} - poetry build && \ - pip-3 install dist/*.whl && \ # Move bootstrap to correct folder rm -f anitya/static/bootstrap && \ mv anitya/static/bootstrap-3.3.4-fedora anitya/static/bootstrap && \ + poetry build && \ + pip-3 install dist/*.whl && \ {% else %} python3 setup.py install && \ pip-3 install . && \ {% endif %} - popd && \ - rm -rf anitya + popd + # popd && \ + # rm -rf anitya {% if env == 'staging' %} # Let's use staging auth server in staging RUN sed -i 's/id.fedoraproject.org/id.stg.fedoraproject.org/g' /usr/local/lib/python3.10/site-packages/social_core/backends/fedora.py