Merge "Install current ARA version into the ansible-runtime venv"

This commit is contained in:
Zuul 2020-09-23 23:54:44 +00:00 committed by Gerrit Code Review
commit a419dcbdfa
2 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ store_artifacts /var/log/ "${WORKING_DIR}/logs/host"
# Build the ARA static html report if required # Build the ARA static html report if required
if [[ "$ARA_REPORT_TYPE" == "html" ]]; then if [[ "$ARA_REPORT_TYPE" == "html" ]]; then
echo "Generating ARA static html report." echo "Generating ARA static html report."
/opt/ansible-runtime/bin/ara generate html "${WORKING_DIR}/logs/ara-report" /opt/ansible-runtime/bin/ara-manage generate "${WORKING_DIR}/logs/ara-report"
fi fi
# Store the ara sqlite database in the openstack-ci expected path # Store the ara sqlite database in the openstack-ci expected path

View File

@ -207,12 +207,12 @@ function setup_ara {
# This installs from a git checkout # This installs from a git checkout
# PIP_COMMAND and PIP_OPTS are exported by the bootstrap-ansible script. # 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_OPTS contains the whole set of constraints that need to be applied.
${PIP_COMMAND} install --isolated ${PIP_OPTS} ${ARA_SRC_HOME} "${ANSIBLE_PACKAGE:-ansible}" ${PIP_COMMAND} install --isolated ${PIP_OPTS} ${ARA_SRC_HOME}
else else
# This installs from pypi # This installs from pypi
# PIP_COMMAND and PIP_OPTS are exported by the bootstrap-ansible script. # 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_OPTS contains the whole set of constraints that need to be applied.
${PIP_COMMAND} install --isolated ${PIP_OPTS} 'ara<1.0.0' "${ANSIBLE_PACKAGE:-ansible}" ${PIP_COMMAND} install --isolated ${PIP_OPTS} "ara[server]"
fi fi
} }