blob: 5efc55534df9b30774403cf0244fa0871867c8a3 [file] [log] [blame]
Oleksii Zhurba12f311e2018-07-31 21:21:20 -05001FROM xrally/xrally-openstack:0.10.1
Oleksii Zhurbac8058d62018-06-21 17:46:11 -05002
3SHELL ["/bin/bash", "-xec"]
4
5USER root
6
Oleksii Zhurbaaf3e5e82018-11-12 12:29:31 -06007RUN apt-get update; apt-get install -y iputils-ping curl wget
Oleksii Zhurba7b95c182018-07-23 20:50:03 -05008
Oleksii Zhurbac8058d62018-06-21 17:46:11 -05009WORKDIR /var/lib/
10
11RUN mkdir -p cvp-configuration
12
13RUN git clone https://github.com/openstack/tempest && \
14 pushd tempest; git checkout 17.2.0; pip install -r requirements.txt; \
15 popd;
16
17RUN git clone https://github.com/openstack/telemetry-tempest-plugin && \
Oleksii Zhurba991dbc62018-07-25 16:03:51 -050018 pushd telemetry-tempest-plugin; git checkout 7a4bff728fbd8629ec211669264ab645aa921e2b; pip install -r requirements.txt; \
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050019 popd;
20
21RUN git clone https://github.com/openstack/heat-tempest-plugin && \
Oleksii Zhurba991dbc62018-07-25 16:03:51 -050022 pushd heat-tempest-plugin; git checkout 12b770e923060f5ef41358c37390a25be56634f0; pip install -r requirements.txt; \
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050023 popd;
24
Oleksii Zhurba8b76f3d2018-08-07 12:38:26 -050025RUN pip install --force-reinstall python-cinderclient==3.2.0
26
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050027COPY rally/ /var/lib/cvp-configuration/rally
28COPY tempest/ /var/lib/cvp-configuration/tempest
29COPY cleanup.sh /var/lib/cvp-configuration/cleanup.sh
30COPY configure.sh /var/lib/cvp-configuration/configure.sh
31
Oleksii Zhurba0adc6a52018-07-16 22:18:59 -050032WORKDIR /home/rally
33
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050034ENTRYPOINT ["/bin/bash"]