From: romeroalx Date: Mon, 6 Oct 2025 10:50:31 +0000 (+0200) Subject: gh actions - misc-dailies: fix pip name normalization when validating hashes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16215%2Fhead;p=thirdparty%2Fpdns.git gh actions - misc-dailies: fix pip name normalization when validating hashes --- diff --git a/.github/workflows/misc-dailies.yml b/.github/workflows/misc-dailies.yml index 1fa9646e99..9a14fbfc42 100644 --- a/.github/workflows/misc-dailies.yml +++ b/.github/workflows/misc-dailies.yml @@ -136,7 +136,7 @@ jobs: env: ID: ${{ steps.proxpi-docker.outputs.id }} run: | - docker logs "${ID}" 2>&1 | grep whl | awk '{print $8}' | cut -d "/" -f 4 | awk -F'-' '{print $1"=="$2}' | sort -u --ignore-case | sed 's/_/-/' | egrep -v "pip==|setuptools==" > /tmp/proxpi.log + docker logs "${ID}" 2>&1 | grep whl | awk '{print $8}' | cut -d "/" -f 4 | awk -F'-' '{print $1"=="$2}' | sort -u --ignore-case | sed 's/_/-/g' | egrep -v "pip==|setuptools==" > /tmp/proxpi.log cat /tmp/proxpi.log - name: check only listed packages were installed run: for i in `cat /tmp/proxpi.log`; do grep -qq -i $i ${REQUIREMENTS_FILE} || ( echo "$i not found" && exit 1 ); done