From 98611887ff34dd1bb3c7b675ff6837fcd9cfc12f Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 29 Dec 2022 10:36:45 +0100 Subject: [PATCH] Updating .gitlab-ci.yml --- gitlab/python-setup-template.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gitlab/python-setup-template.yaml b/gitlab/python-setup-template.yaml index 9d2d30b..3252071 100644 --- a/gitlab/python-setup-template.yaml +++ b/gitlab/python-setup-template.yaml @@ -27,7 +27,14 @@ - pip install --upgrade pip - > if [[ -n "${UPDATE_ALL_PIP_MODULES}" && "${UPDATE_ALL_PIP_MODULES}" == "y" ]] ; then - pip list --outdated | awk '{if(NR>=3) print $1}' | xargs -n 1 pip install --upgrade + echo + echo "Updating all outdated PIP modules." + for module in $( pip list --outdated | awk '{if(NR>=3) print $1}' ); do + echo + echo "Updating module '${module}' ..." + pip install --upgrade "${module}" + done + echo fi - > if [[ -r requirements.txt ]] ; then -- 2.39.5