Oleksii Zhurba | 12f311e | 2018-07-31 21:21:20 -0500 | [diff] [blame] | 1 | FROM xrally/xrally-openstack:0.10.1 |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 2 | |
| 3 | SHELL ["/bin/bash", "-xec"] |
| 4 | |
| 5 | USER root |
| 6 | |
Oleksii Zhurba | af3e5e8 | 2018-11-12 12:29:31 -0600 | [diff] [blame] | 7 | RUN apt-get update; apt-get install -y iputils-ping curl wget |
Oleksii Zhurba | 7b95c18 | 2018-07-23 20:50:03 -0500 | [diff] [blame] | 8 | |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 9 | WORKDIR /var/lib/ |
| 10 | |
| 11 | RUN mkdir -p cvp-configuration |
| 12 | |
| 13 | RUN git clone https://github.com/openstack/tempest && \ |
| 14 | pushd tempest; git checkout 17.2.0; pip install -r requirements.txt; \ |
| 15 | popd; |
| 16 | |
| 17 | RUN git clone https://github.com/openstack/telemetry-tempest-plugin && \ |
Oleksii Zhurba | 991dbc6 | 2018-07-25 16:03:51 -0500 | [diff] [blame] | 18 | pushd telemetry-tempest-plugin; git checkout 7a4bff728fbd8629ec211669264ab645aa921e2b; pip install -r requirements.txt; \ |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 19 | popd; |
| 20 | |
| 21 | RUN git clone https://github.com/openstack/heat-tempest-plugin && \ |
Oleksii Zhurba | 991dbc6 | 2018-07-25 16:03:51 -0500 | [diff] [blame] | 22 | pushd heat-tempest-plugin; git checkout 12b770e923060f5ef41358c37390a25be56634f0; pip install -r requirements.txt; \ |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 23 | popd; |
| 24 | |
Oleksii Zhurba | 8b76f3d | 2018-08-07 12:38:26 -0500 | [diff] [blame] | 25 | RUN pip install --force-reinstall python-cinderclient==3.2.0 |
| 26 | |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 27 | COPY rally/ /var/lib/cvp-configuration/rally |
| 28 | COPY tempest/ /var/lib/cvp-configuration/tempest |
| 29 | COPY cleanup.sh /var/lib/cvp-configuration/cleanup.sh |
| 30 | COPY configure.sh /var/lib/cvp-configuration/configure.sh |
| 31 | |
Oleksii Zhurba | 0adc6a5 | 2018-07-16 22:18:59 -0500 | [diff] [blame] | 32 | WORKDIR /home/rally |
| 33 | |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 34 | ENTRYPOINT ["/bin/bash"] |