Skip to content

Commit bc00d78

Browse files
committed
Install commonly used tempest extensions
1 parent a83307d commit bc00d78

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ RUN sed -i s/^deb-src.*// /etc/apt/sources.list
55
ARG TEMPEST_SOURCE=https://github.com/openstack/tempest
66
ARG TEMPEST_VERSION=master
77

8+
ARG TEMPEST_PLUGIN_OCTAVIA_SOURCE=https://github.com/openstack/octavia-tempest-plugin
9+
ARG TEMPEST_PLUGIN_OCTAVIA_VERSION=master
10+
11+
ARG TEMPEST_PLUGIN_DESIGNATE_SOURCE=https://github.com/openstack/designate-tempest-plugin
12+
ARG TEMPEST_PLUGIN_DESIGNATE_VERSION=master
13+
14+
ARG TEMPEST_PLUGIN_IRONIC_SOURCE=https://github.com/openstack/ironic-tempest-plugin
15+
ARG TEMPEST_PLUGIN_IRONIC_VERSION=master
16+
817
RUN apt-get update && apt-get install --yes sudo python3-dev python3-pip vim git-core crudini jq iputils-ping && \
918
apt clean && \
1019
pip3 --no-cache-dir install --upgrade pip setuptools && \
@@ -30,6 +39,11 @@ RUN rally db recreate
3039

3140
RUN rally verify create-verifier --name default --type tempest --source $TEMPEST_SOURCE --version $TEMPEST_VERSION
3241

42+
# For simplicitiy, always install common extensions
43+
RUN rally verify add-verifier-ext --source $TEMPEST_PLUGIN_OCTAVIA_SOURCE --version $TEMPEST_PLUGIN_OCTAVIA_VERSION
44+
RUN rally verify add-verifier-ext --source $TEMPEST_PLUGIN_DESIGNATE_SOURCE --version $TEMPEST_PLUGIN_DESIGNATE_VERSION
45+
RUN rally verify add-verifier-ext --source $TEMPEST_PLUGIN_IRONIC_SOURCE --version $TEMPEST_PLUGIN_IRONIC_VERSION
46+
3347
COPY bin/rally-verify-wrapper.sh /usr/bin/rally-verify-wrapper.sh
3448
COPY bin/rally-extract-tests.sh /usr/bin/rally-extract-tests.sh
3549
COPY bin/rally-normalize.py /usr/bin/rally-normalize.py

0 commit comments

Comments
 (0)