Remove export commands from tox based roles
This logic is very specific to openstack-infra and now that we have exposed tox_environment, it is much easier for jobs to pass into shell variables into our tox based roles. Change-Id: I6c5897088158e1e4917d29d72f523f853c254314 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
98533b2426
commit
f49f3f641d
@ -20,8 +20,6 @@
|
||||
|
||||
venv={{ tox_envlist }}
|
||||
|
||||
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
|
||||
|
||||
rm -f dist/*.tar.gz
|
||||
tox -e$venv python setup.py sdist
|
||||
|
||||
|
@ -20,8 +20,6 @@
|
||||
|
||||
venv={{ tox_envlist }}
|
||||
|
||||
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
|
||||
|
||||
rm -f dist/*.whl
|
||||
tox -e$venv pip install wheel
|
||||
tox -e$venv python setup.py bdist_wheel
|
||||
|
@ -109,15 +109,6 @@
|
||||
bin_path=.tox/$venv/bin
|
||||
|
||||
export PYTHON=$bin_path/python
|
||||
export NOSE_WITH_XUNIT=1
|
||||
export NOSE_WITH_HTML_OUTPUT=1
|
||||
export NOSE_HTML_OUT_FILE='nose_results.html'
|
||||
if [[ -z "$TMPDIR" ]]; then
|
||||
export TMPDIR=$(/bin/mktemp -d)
|
||||
fi
|
||||
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
|
||||
trap "rm -rf $TMPDIR" EXIT
|
||||
|
||||
cat /etc/image-hostname.txt
|
||||
|
||||
$script_path/jenkins-oom-grep.sh pre
|
||||
|
Loading…
Reference in New Issue
Block a user