Fix passenv syntax in tox and update python jobs
This updated the Python jobs and fixes the following error with tox 4: tox.tox_env.errors.Fail: pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY PBR_VERSION'PROXY PBR_VERSION' Change-Id: I003723766b1dba7f54c9800364207191597c6741
This commit is contained in:
parent
7d4047cb69
commit
420f4ff46d
@ -205,7 +205,7 @@
|
||||
- project:
|
||||
templates:
|
||||
- openstack-cover-jobs
|
||||
- openstack-python3-zed-jobs
|
||||
- openstack-python3-jobs
|
||||
- publish-openstack-docs-pti
|
||||
- periodic-stable-jobs
|
||||
- check-requirements
|
||||
|
24
tox.ini
24
tox.ini
@ -18,7 +18,7 @@ commands =
|
||||
allowlist_externals =
|
||||
bash
|
||||
find
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY PBR_VERSION
|
||||
passenv = http_proxy,HTTP_PROXY,https_proxy,HTTPS_PROXY,no_proxy,NO_PROXY,PBR_VERSION
|
||||
|
||||
[testenv:pep8]
|
||||
deps =
|
||||
@ -72,16 +72,7 @@ commands = {posargs}
|
||||
commands =
|
||||
find keystone -type f -name "*.pyc" -delete
|
||||
oslo_debug_helper {posargs}
|
||||
passenv =
|
||||
KSTEST_ADMIN_URL
|
||||
KSTEST_ADMIN_USERNAME
|
||||
KSTEST_ADMIN_PASSWORD
|
||||
KSTEST_ADMIN_DOMAIN_ID
|
||||
KSTEST_PUBLIC_URL
|
||||
KSTEST_USER_USERNAME
|
||||
KSTEST_USER_PASSWORD
|
||||
KSTEST_USER_DOMAIN_ID
|
||||
KSTEST_PROJECT_ID
|
||||
passenv = KSTEST_*
|
||||
|
||||
[testenv:functional]
|
||||
deps =
|
||||
@ -92,16 +83,7 @@ commands =
|
||||
find keystone -type f -name "*.pyc" -delete
|
||||
stestr run {posargs}
|
||||
stestr slowest
|
||||
passenv =
|
||||
KSTEST_ADMIN_URL
|
||||
KSTEST_ADMIN_USERNAME
|
||||
KSTEST_ADMIN_PASSWORD
|
||||
KSTEST_ADMIN_DOMAIN_ID
|
||||
KSTEST_PUBLIC_URL
|
||||
KSTEST_USER_USERNAME
|
||||
KSTEST_USER_PASSWORD
|
||||
KSTEST_USER_DOMAIN_ID
|
||||
KSTEST_PROJECT_ID
|
||||
passenv = KSTEST_*
|
||||
|
||||
[flake8]
|
||||
filename= *.py,keystone-manage
|
||||
|
Loading…
Reference in New Issue
Block a user