Oleksii Zhurba | 991dbc6 | 2018-07-25 16:03:51 -0500 | [diff] [blame^] | 1 | FROM xrally/xrally-openstack:0.11.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 | 7b95c18 | 2018-07-23 20:50:03 -0500 | [diff] [blame] | 7 | RUN apt-get update; apt-get install -y inetutils-ping |
| 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 | |
| 25 | COPY rally/ /var/lib/cvp-configuration/rally |
| 26 | COPY tempest/ /var/lib/cvp-configuration/tempest |
| 27 | COPY cleanup.sh /var/lib/cvp-configuration/cleanup.sh |
| 28 | COPY configure.sh /var/lib/cvp-configuration/configure.sh |
| 29 | |
Oleksii Zhurba | 0adc6a5 | 2018-07-16 22:18:59 -0500 | [diff] [blame] | 30 | WORKDIR /home/rally |
| 31 | |
Oleksii Zhurba | c8058d6 | 2018-06-21 17:46:11 -0500 | [diff] [blame] | 32 | ENTRYPOINT ["/bin/bash"] |