Merge "scripts-library: simplify ara setup"
This commit is contained in:
commit
e9f78cb54b
@ -199,18 +199,9 @@ function gate_job_exit_tasks {
|
||||
function setup_ara {
|
||||
# Install ARA and add it to the callback path provided by bootstrap-ansible.sh/openstack-ansible.rc
|
||||
# This is added *here* instead of bootstrap-ansible so it's used for CI purposes only.
|
||||
ARA_SRC_HOME="${HOME}/src/opendev.org/recordsansible/ara"
|
||||
if [[ -d "${ARA_SRC_HOME}" ]]; then
|
||||
# This installs from a git checkout
|
||||
# PIP_COMMAND and PIP_OPTS are exported by the bootstrap-ansible script.
|
||||
# PIP_OPTS contains the whole set of constraints that need to be applied.
|
||||
${PIP_COMMAND} install --isolated ${PIP_OPTS} ${ARA_SRC_HOME}
|
||||
else
|
||||
# This installs from pypi
|
||||
# PIP_COMMAND and PIP_OPTS are exported by the bootstrap-ansible script.
|
||||
# PIP_OPTS contains the whole set of constraints that need to be applied.
|
||||
${PIP_COMMAND} install --isolated ${PIP_OPTS} "ara[server]"
|
||||
fi
|
||||
# PIP_COMMAND and PIP_OPTS are exported by the bootstrap-ansible script.
|
||||
# PIP_OPTS contains the whole set of constraints that need to be applied.
|
||||
${PIP_COMMAND} install --isolated ${PIP_OPTS} "ara[server]"
|
||||
}
|
||||
|
||||
function run_dstat {
|
||||
|
Loading…
x
Reference in New Issue
Block a user