X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Frun_report.sh;h=b89754b1b93a4ddff78224bf238200d5c20d06d2;hb=eb30e6b70823a30f35a1841ff996e2ead2cf0d08;hp=8dcd17bbf96b522174af6b08aad8b6a01dfe3c08;hpb=cb66ecc82b7491823c837e2cefbf50984fcae594;p=csit.git diff --git a/resources/tools/presentation/run_report.sh b/resources/tools/presentation/run_report.sh index 8dcd17bbf9..b89754b1b9 100755 --- a/resources/tools/presentation/run_report.sh +++ b/resources/tools/presentation/run_report.sh @@ -18,6 +18,7 @@ sudo apt-get -y install libxml2 libxml2-dev libxslt-dev build-essential \ if [[ ${CFG[BLD_LATEX]} -eq 1 ]] ; then + export DEBIAN_FRONTEND=noninteractive sudo apt-get -y install xvfb texlive-latex-recommended \ texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra latexmk wkhtmltopdf inkscape sudo sed -i.bak 's/^\(main_memory\s=\s\).*/\110000000/' /usr/share/texlive/texmf-dist/web2c/texmf.cnf @@ -27,18 +28,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 "0.1" \ + --week "09" \ --logging INFO \ --force