test-ansible-env-prep: simplify ara setup
The intent was to be able to test easily with Depends-On patches with a repository prepared by Zuul but ara is being retired from opendev.org/recordsansible/ara and will no longer be available at that location. Change-Id: I961f58d5b24aa5e11e2a4db39f2daff3c8330063
This commit is contained in:
parent
7fb5312be3
commit
a8c775dfda
@ -195,13 +195,8 @@ if [[ ${ID,,} =~ (centos|rhel|fedora) ]]; then
|
||||
PIP_OPTS+=" selinux"
|
||||
fi
|
||||
|
||||
# Install ARA from source if running in ARA gate, otherwise install from PyPi
|
||||
ARA_SRC_HOME="${TESTING_HOME}/src/opendev.org/recordsansible/ara"
|
||||
if [[ -d "${ARA_SRC_HOME}" ]]; then
|
||||
PIP_OPTS+=" ${ARA_SRC_HOME}"
|
||||
else
|
||||
PIP_OPTS+=" ara[server]"
|
||||
fi
|
||||
# Install ARA from PyPi
|
||||
PIP_OPTS+=" ara[server]"
|
||||
|
||||
# Install all python packages
|
||||
python -m pip install ${PIP_OPTS}
|
||||
|
Loading…
x
Reference in New Issue
Block a user