Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion bin/rally-verify-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,16 @@ else
fi
set -x

unset OS_CACERT
if [[ -z "$(sudo ls -A /usr/local/share/ca-certificates)" ]]; then
# Assume that any CA certificate referenced in the openrc file will not be
# valid within the container.
unset OS_CACERT
else
# Use the container's system CA trust store. This allows for bind mounting a CA
# certificate under /usr/local/share/ca-certificates/.
sudo update-ca-certificates
export OS_CACERT=/etc/ssl/certs/ca-certificates.crt
fi

crudini --set ~/.rally/rally.conf DEFAULT openstack_client_http_timeout 300
crudini --set ~/.rally/rally.conf openstack flavor_ref_ram 128
Expand Down