]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-container-flake8: Fixing tox.ini path 1000/head
authorErwan Velu <erwan@redhat.com>
Mon, 9 Apr 2018 14:22:44 +0000 (16:22 +0200)
committerErwan Velu <erwan@redhat.com>
Mon, 9 Apr 2018 14:22:44 +0000 (16:22 +0200)
tox.ini is located at the root of the project, so in $workspace/ceph-container

ceph-container-flake8/build/build

index 15532a25065182c74468849b4c049bb03ecf5972..758a78164077eb34b872f63c8d767317266b32ab 100755 (executable)
@@ -21,7 +21,7 @@ function check(){
     while read -r filename; do
         pushd "$(dirname "$filename")"
         file=$(basename "$filename")
-        sudo docker run --rm -v "$(pwd)"/tox.ini:/tox.ini -v "$(pwd)"/"$file":/"$file" eeacms/flake8 /"$file"
+        sudo docker run --rm -v "$workspace"/ceph-container/tox.ini:/tox.ini -v "$(pwd)"/"$file":/"$file" eeacms/flake8 /"$file"
         popd
     done
     return $?