From 7fce906d509fb0e3d914c516fe52d33de7b52764 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 10 Aug 2023 23:09:23 +0200 Subject: [PATCH] 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 --- ceph-container-flake8/build/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $? -- 2.39.5