From: Vladimir Khlyunev Date: Wed, 4 May 2022 10:23:29 +0000 (+0400) Subject: Use py3.7 for testrail-reporter X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F41907%2F1;p=tools%2Fsustaining.git Use py3.7 for testrail-reporter Change-Id: I6d9cd4f1ee07d41dcf8999818b9e96f9c2d9a588 --- diff --git a/maintenance-ci/mos/reporter-docker/Dockerfile b/maintenance-ci/mos/reporter-docker/Dockerfile index 32e7335..4fe7bb6 100644 --- a/maintenance-ci/mos/reporter-docker/Dockerfile +++ b/maintenance-ci/mos/reporter-docker/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:16.04 +FROM ubuntu:18.04 LABEL rebuild="build1" @@ -13,23 +13,18 @@ RUN echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes \ && echo 'APT::Get::Install-Recommends "false"; APT::Get::Install-Suggests "false";' > /etc/apt/apt.conf.d/docker-recommends \ && apt-get update \ - && apt-get -yy upgrade \ - && apt-get install -y git python-dev python-virtualenv \ - && apt-get -y install python-pip && pip install -U "pip<21" + && apt-get -yy upgrade +RUN apt-get install -y git python-dev python-virtualenv software-properties-common build-essential libpq-dev libssl-dev openssl libssl-dev libffi-dev zlib1g-dev +RUN apt-get install -y python3.7 WORKDIR /root -RUN virtualenv report-venv \ +RUN virtualenv --python=python3.7 report-venv \ && source report-venv/bin/activate \ - && pip install -U "pip<21" \ - && pip install -U "setuptools<45.0.0" six "Jinja2==2.11.3" "prettytable==1.0.1" "pytest-runner==5.2" - -RUN source report-venv/bin/activate \ && git clone https://github.com/dis-xcom/testrail_reporter.git \ - && cd testrail_reporter \ - && git checkout v0.7.3 \ + && cd testrail_reporter \ && python setup.py install - -COPY run_report.sh /root/run_report.sh - -CMD /bin/bash /root/run_report.sh +# +#COPY run_report.sh /root/run_report.sh +# +#CMD /bin/bash /root/run_report.sh