blob: f6c8e42c8580b0345e9f2920ee909dc1d37be3c9 [file] [log] [blame]
Ievgeniia Zadorozhna3a526cf2024-01-24 21:03:10 +01001FROM xrally/xrally-openstack:2.1.0
Alexc7f187c2022-04-28 10:02:27 -05002
Ievgeniia Zadorozhnaa33b29a2023-08-29 18:19:47 +03003LABEL maintainer="qa-ps@mirantis.com"
Alexc7f187c2022-04-28 10:02:27 -05004
5WORKDIR /rally
Alex1a216672022-05-25 12:40:55 -05006RUN mkdir /rally/rally-files && \
7 sudo apt-get update && \
Alexc7f187c2022-04-28 10:02:27 -05008 sudo apt-get install -y wget curl git
9
10RUN git clone https://github.com/Mirantis/rally-plugins.git && \
11 cd rally-plugins/ && \
Alex1a216672022-05-25 12:40:55 -050012 pip3 install . && \
Ievgeniia Zadorozhna3a526cf2024-01-24 21:03:10 +010013 # since rally-plugins use v1beta1 API which is deprecated, downgrade kubernetes
14 pip3 install kubernetes==21.7.0 && \
15 cd /rally && \
16 rally plugin list | grep kubernetes
Alex1a216672022-05-25 12:40:55 -050017
Ievgeniia Zadorozhna712b5132024-10-02 21:22:55 +020018COPY k8s/rally-files/* /rally/rally-files/
Alexc7f187c2022-04-28 10:02:27 -050019
20ENTRYPOINT ["bash"]
21