From 408972b42d57b55e6c91b2cd900e1cb2bc886ef4 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 29 Dec 2022 10:11:39 +0100 Subject: [PATCH] Updating gitlab/python-setup-template.yaml --- gitlab/python-setup-template.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gitlab/python-setup-template.yaml b/gitlab/python-setup-template.yaml index 44a4f53..0d1b0fc 100644 --- a/gitlab/python-setup-template.yaml +++ b/gitlab/python-setup-template.yaml @@ -25,6 +25,11 @@ - locale-gen - locale -a - pip install --upgrade pip - - pip install -r requirements.txt --upgrade --upgrade-strategy eager + - > + if [[ -r requirements.txt ]] ; then + pip install -r requirements.txt --upgrade --upgrade-strategy eager + else + pip install --upgrade --upgrade-strategy eager + fi # vim: et tabstop=2 expandtab shiftwidth=2 softtabstop=2 list -- 2.39.5