Skip to content

Commit 6d35979

Browse files
committed
Adds RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES
1 parent 7d9aaa0 commit 6d35979

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install --yes sudo python3-dev python3-pip vim git
2222
echo "rally ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/00-rally-user && \
2323
mkdir /rally && chown -R rally:rally /rally
2424

25-
RUN pip install git+https://github.com/openstack/rally-openstack.git --no-cache-dir && \
25+
RUN pip install git+https://github.com/stackhpc/rally-openstack.git@feature/non-admin-creds --no-cache-dir && \
2626
pip3 install pymysql psycopg2-binary --no-cache-dir
2727

2828
COPY ./etc/motd_for_docker /etc/motd

bin/rally-verify-wrapper.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ crudini --set ~/.rally/rally.conf openstack flavor_ref_disk 1
8787
crudini --set ~/.rally/rally.conf openstack flavor_ref_alt_disk 1
8888
crudini --set ~/.rally/rally.conf openstack img_url http://download.cirros-cloud.net/0.5.1/cirros-0.5.1-x86_64-disk.img
8989

90+
# WARNING: This option relies on a custom fork for rally-openstack and should
91+
# be considered unstable
92+
if [ ! -z ${RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES:+x} ]; then
93+
crudini --set ~/.rally/rally.conf openstack enable_create_resources true
94+
fi
95+
9096
rally deployment create --fromenv --name openstack
9197

9298
if [ -f ~/tempest-overrides.conf ]; then

0 commit comments

Comments
 (0)