From 1813618ff5eec71382f3e7cf4630cb4fe2fa6503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Tue, 27 Sep 2022 17:32:02 +0200 Subject: [PATCH] [release-monitoring] Let's uninstall the package before installing it again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It seems that the package isn't replaced with the newer build, let's remove it first and see if this will help. Signed-off-by: Michal Konečný --- .../openshift-apps/release-monitoring/templates/buildconfig.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml index 7e4aa6cb26..893e4cd24d 100644 --- a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml +++ b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml @@ -69,6 +69,8 @@ items: cp -r _build/html/* ../anitya/static/docs/ && \ popd && \ {% if env == 'staging' %} + # Uninstall the existing anitya installation first + pip-3 uninstall anitya # Move bootstrap to correct folder rm -f anitya/static/bootstrap && \ mv anitya/static/bootstrap-3.3.4-fedora anitya/static/bootstrap && \