X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Frun_report.sh;h=c28c03a49b120dcca7d295d130ab76a07f99218b;hp=077d74b8d6ccca229da4caebeee048b32e3ec399;hb=769f6c8877eb5f4af46a782599acc3d16cf7f35b;hpb=7947526242a1e6149f623af96cfcb696a313c4db diff --git a/resources/tools/presentation/run_report.sh b/resources/tools/presentation/run_report.sh index 077d74b8d6..c28c03a49b 100755 --- a/resources/tools/presentation/run_report.sh +++ b/resources/tools/presentation/run_report.sh @@ -27,18 +27,21 @@ fi mkdir ${DIR[WORKING]} # Create virtual environment -virtualenv ${DIR[WORKING]}/env -. ${DIR[WORKING]}/env/bin/activate +virtualenv -p $(which python3) ${DIR[WORKING]}/env +source ${DIR[WORKING]}/env/bin/activate + +# FIXME: Temporary hack until all docker dns will be solved +echo "nameserver 172.17.0.1" > /etc/resolv.conf # Install python dependencies: -pip install -r requirements.txt +pip3 install -r requirements.txt -export PYTHONPATH=`pwd` +export PYTHONPATH=`pwd`:`pwd`/../../../:`pwd`/../../libraries/python python pal.py \ --specification specification.yaml \ --release ${RELEASE} \ - --version "w48" \ + --week "09" \ --logging INFO \ --force