Files
rally/devstack/plugin.sh
Ian Wienand 33023798b4 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Iac57d073b6b10e7c11a9119cfb7d968ee90d6aa6
2019-03-24 20:35:59 +00:00

28 lines
745 B
Bash

# DevStack extras script to install Rally
# Save trace setting
XTRACE=$(set +o | grep xtrace)
set -o xtrace
DIR=$(dirname ${BASH_SOURCE[0]})
source $DIR/lib/rally
MESSAGE="'rally https://git.openstack.org/openstack/rally' devstack plugin is
deprecated and will be removed soon! Use 'rally-openstack
https://git.openstack.org/openstack/rally-openstack' instead."
deprecated "$MESSAGE"
if [[ "$1" == "stack" && "$2" == "install" ]]; then
echo_summary "Installing Rally"
install_rally
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring Rally"
configure_rally
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
echo_summary "Initializing Rally"
init_rally
fi
# Restore xtrace
$XTRACE