Merge "Enable process_stackviz function to be optional"

This commit is contained in:
Zuul 2019-01-10 05:43:53 +00:00 committed by Gerrit Code Review
commit 907c1f999d
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,9 @@ GIT_BRANCH=${GIT_BRANCH:-master}
ANSIBLE_VERSION=${ANSIBLE_VERSION:-2.5.7}
export DSTOOLS_VERSION=${DSTOOLS_VERSION:-0.4.0}
# Set to 0 to skip stackviz
export PROCESS_STACKVIZ=${PROCESS_STACKVIZ:-1}
# sshd may have been compiled with a default path excluding */sbin
export PATH=$PATH:/usr/local/sbin:/usr/sbin
# When doing xtrace (set -x / set -o xtrace), provide more debug output

View File

@ -841,7 +841,9 @@ function cleanup_host {
sudo mv $WORKSPACE/rpm-qa.txt.gz $BASE/logs/
fi
process_stackviz tempest
if [[ "$PROCESS_STACKVIZ" -eq "1" ]] ; then
process_stackviz tempest
fi
process_testr_artifacts tempest
process_testr_artifacts tempest old