Enable publish-to-pypi Zuul job
This patch enables the publish-to-pypi Zull job and for that removes the git repository from the test requirements and adds it instead to the Tox file. Change-Id: Id029cedef513753700a10bcae761fdc1807964e1
This commit is contained in:
parent
f9dab3d6fb
commit
43ff1883e5
|
@ -1,8 +1,6 @@
|
|||
- project:
|
||||
templates:
|
||||
# TODO(geguileo): Uncomment publish-to-pypi once we release Cinder on
|
||||
# PyPi and we can add it to test-requirements instead of the git repo.
|
||||
# - publish-to-pypi
|
||||
- publish-to-pypi
|
||||
# PEP8 + PY27 + Post branch-tarball
|
||||
- openstack-python-jobs
|
||||
- openstack-python36-jobs
|
||||
|
|
|
@ -10,5 +10,3 @@ oslotest>=3.2.0 # Apache-2.0
|
|||
testscenarios>=0.4 # Apache-2.0/BSD
|
||||
testtools>=2.2.0 # MIT
|
||||
stestr>=1.0.0 # Apache-2.0
|
||||
# There's no current Cinder PyPi package we can use
|
||||
git+git://github.com/openstack/cinder.git
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -11,8 +11,10 @@ setenv = OS_STDOUT_CAPTURE=1
|
|||
OS_TEST_PATH=./cinderlib/tests/unit
|
||||
usedevelop=True
|
||||
install_command = pip install {opts} {packages}
|
||||
# Use cinder from master instead of from PyPi
|
||||
deps= -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
git+git://github.com/openstack/cinder.git
|
||||
|
||||
commands =
|
||||
find . -ignore_readdir_race -type f -name "*.pyc" -delete
|
||||
|
|
Loading…
Reference in New Issue