blob: e8a327a9593a9b5cf0dc0da2888c2facd4d5a013 [file] [log] [blame]
Oleksii Zhurba02eab4f2019-03-21 14:09:51 -05001FROM xrally/xrally-openstack:0.11.2
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 && \
Oleksii Zhurba02eab4f2019-03-21 14:09:51 -050014 pushd tempest; git checkout 18.0.0; pip install -r requirements.txt; \
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050015 popd;
16
17RUN git clone https://github.com/openstack/heat-tempest-plugin && \
Oleksii Zhurba02eab4f2019-03-21 14:09:51 -050018 pushd heat-tempest-plugin; git checkout 0.2.0; pip install -r requirements.txt; \
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050019 popd;
20
Oleksii Zhurba02eab4f2019-03-21 14:09:51 -050021RUN pip install --force-reinstall python-cinderclient==3.2.0 python-glanceclient==2.11
Oleksii Zhurba8b76f3d2018-08-07 12:38:26 -050022
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050023COPY rally/ /var/lib/cvp-configuration/rally
24COPY tempest/ /var/lib/cvp-configuration/tempest
25COPY cleanup.sh /var/lib/cvp-configuration/cleanup.sh
26COPY configure.sh /var/lib/cvp-configuration/configure.sh
27
Oleksii Zhurba0adc6a52018-07-16 22:18:59 -050028WORKDIR /home/rally
29
Oleksii Zhurbac8058d62018-06-21 17:46:11 -050030ENTRYPOINT ["/bin/bash"]