From: Frank Brehm Date: Thu, 29 Dec 2022 09:36:45 +0000 (+0100) Subject: Updating .gitlab-ci.yml X-Git-Tag: v1.0~31 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=98611887ff34dd1bb3c7b675ff6837fcd9cfc12f;p=pixelpark%2Fpython-packaging.git Updating .gitlab-ci.yml --- 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