blob: dff84219e13a4917447d2f716f4ecdb890a46872 [file] [log] [blame]
Sergii Turivnyi64709bd2019-04-04 14:44:15 +03001FROM python:2
2LABEL maintainer="Serhii Turivnyi <sturivnyi@mirantis.com>"
3
4RUN apt-get update -qq && \
5apt-get install -q -y \
6 python-dev \
7 python2.7 python-pip \
8 git vim \
9 libvirt-dev && \
10pip install pdbpp && \
11apt-get clean && \
12rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
13
14WORKDIR /opt/
15
16RUN pip install xunit2testrail
17RUN git clone --single-branch --branch for_docker https://github.com/Turivniy/upd_testrail_xml.git
18
19ENV TESTRAIL_PLAN_NAME="[MCP-Q2]System-proposed-2018-02-05"
20ENV TEST_GROUP="openstack"
21ENV TESTRAIL_URL="https://mirantis.testrail.com"
22ENV TESTRAIL_PROJECT='Mirantis Cloud Platform'
23ENV TESTRAIL_MILESTONE='MCP1.1'
24ENV TESTRAIL_SUITE="[MCP1.1_PIKE]Tempest"
25ENV PASTE_BASE_URL=""
26ENV REPORT=/srv/report.xml
27ENV OUTPUT_XUNIT_REPORT=/opt/upd_testrail_xml/output_verification.xml
28ENV PASS=TESTRAIL_PASSWORD
29
30COPY entrypoint.sh /opt/
31
32# Change report filename
33COPY report_to_upload_to_testrail.xml $REPORT
34
35# Change TESTRAIL_PASSWORD and TESTRAIL_USER or use it
rbubyrfaf14652024-06-26 10:57:33 +020036ENV TESTRAIL_PASSWORD="TestrailBot987^"
Sergii Turivnyi64709bd2019-04-04 14:44:15 +030037ENV TESTRAIL_USER="mosqa-eng@mirantis.com"
38
39ENTRYPOINT ["/opt/entrypoint.sh"]