From: Guillaume Abrioux Date: Thu, 10 Aug 2023 21:09:23 +0000 (+0200) Subject: ceph-container-flake8: migrate to alpine/flake8 image X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2158%2Fhead;p=ceph-build.git ceph-container-flake8: migrate to alpine/flake8 image the current image is old and uses a flake8 build based on py2.7. It means we are checking python 3.x code with a python 2.7 version of flake8. That doesn't work very well. Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-container-flake8/build/build b/ceph-container-flake8/build/build index ccc54bef..877626dc 100755 --- a/ceph-container-flake8/build/build +++ b/ceph-container-flake8/build/build @@ -21,7 +21,7 @@ function check(){ while read -r filename; do pushd "$(dirname "$filename")" file=$(basename "$filename") - sudo docker run --rm -v "$workspace"/ceph-container/tox.ini:/tox.ini:z -v "$(pwd)"/"$file":/code/"$file":z eeacms/flake8 + sudo docker run --rm -v "$(pwd)"/"$file":/apps/"$file":z docker.io/alpine/flake8 "$file" popd done return $?