blob: f58b4cfd82258cc2afd54e7359579517f18d30d9 [file] [log] [blame]
Oleksii Zhurba991dbc62018-07-25 16:03:51 -05001FROM xrally/xrally-openstack:0.11.1
Oleksii Zhurbac8058d62018-06-21 17:46:11 -05002
3SHELL ["/bin/bash", "-xec"]
4
5USER root
6
Oleksii Zhurba7b95c182018-07-23 20:50:03 -05007RUN apt-get update; apt-get install -y inetutils-ping
8
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
25COPY rally/ /var/lib/cvp-configuration/rally
26COPY tempest/ /var/lib/cvp-configuration/tempest
27COPY cleanup.sh /var/lib/cvp-configuration/cleanup.sh
28COPY configure.sh /var/lib/cvp-configuration/configure.sh
29
Oleksii Zhurba0adc6a52018-07-16 22:18:59 -050030WORKDIR /home/rally
31
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050032ENTRYPOINT ["/bin/bash"]