From fba95afaa4fafd5d35fc7ef14b4c762de9371640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Tue, 27 Sep 2022 10:56:27 +0200 Subject: [PATCH] [release-monitoring] Fix the poetry export MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The poetry export failed to be installed by pip. Let's try to create the requirements.txt without hashes. Signed-off-by: Michal Konečný --- .../release-monitoring/templates/buildconfig.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml index d7952c9ace..5741ced29c 100644 --- a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml +++ b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml @@ -55,7 +55,8 @@ items: pushd anitya && \ {% if env == 'staging' %} git checkout staging && \ - poetry export -f requirements.txt | pip-3 install -r /dev/stdin && \ + poetry export -f requirements.txt --output requirements.txt --without-hashes && \ + pip-3 install -r requirements.txt && \ {% else %} git checkout production && \ python3 setup.py install && \