Required maintenance and fixing gates
* updated links which were pointing to pre-historic sources * renamed zuul.d/layout.yaml to zuul.d/project.yaml to follow upstream's pattern * removed sphinx pin as the maximum version allowed was too low * replace dashes with underscores in setup.cfg - setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. * replace testr unit test runner by stestr. testr runner hasn't been updated for ~6 years - stestr is its successor * add missing .gitignore file filled by the standard paths * fix pep8 issues [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I889717a6a355a09c74c850a5d91f162798a7f07e
This commit is contained in:
parent
468b968bb3
commit
4311c1987f
48
.gitignore
vendored
Normal file
48
.gitignore
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
*.py[cod]
|
||||
*.pyc
|
||||
cirros*
|
||||
tempest.conf
|
||||
etc/
|
||||
|
||||
# Packages
|
||||
*.egg*
|
||||
*.egg-info
|
||||
dist
|
||||
build
|
||||
eggs
|
||||
parts
|
||||
bin
|
||||
var
|
||||
sdist
|
||||
develop-eggs
|
||||
.installed.cfg
|
||||
lib
|
||||
lib64
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
cover/
|
||||
.coverage*
|
||||
!.coveragerc
|
||||
.tox
|
||||
nosetests.xml
|
||||
.venv
|
||||
.stestr
|
||||
|
||||
# Mr Developer
|
||||
.project
|
||||
.pydevproject
|
||||
|
||||
# Sphinx
|
||||
doc/build
|
||||
|
||||
# pbr generates these
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
|
||||
# Editors
|
||||
*~
|
||||
.*.swp
|
||||
.*sw?
|
3
.stestr.conf
Normal file
3
.stestr.conf
Normal file
@ -0,0 +1,3 @@
|
||||
[DEFAULT]
|
||||
test_path=${OS_TEST_PATH:-./novajoin_tempest_plugin}
|
||||
top_dir=./
|
@ -1,17 +1,17 @@
|
||||
If you would like to contribute to the development of OpenStack, you must
|
||||
follow the steps in this page:
|
||||
|
||||
http://docs.openstack.org/infra/manual/developers.html
|
||||
https://docs.opendev.org/opendev/infra-manual/latest/developers.html
|
||||
|
||||
If you already have a good understanding of how the system works and your
|
||||
OpenStack accounts are set up, you can skip to the development workflow
|
||||
section of this documentation to learn how changes to OpenStack should be
|
||||
submitted for review via the Gerrit tool:
|
||||
|
||||
http://docs.openstack.org/infra/manual/developers.html#development-workflow
|
||||
https://docs.opendev.org/opendev/infra-manual/latest/developers.html#development-workflow
|
||||
|
||||
Pull requests submitted through GitHub will be ignored.
|
||||
|
||||
Bugs should be filed on Launchpad, not GitHub:
|
||||
|
||||
https://bugs.launchpad.net/Tempest plugin novajoin-tempest-plugin
|
||||
http://bugs.launchpad.net/novajoin
|
||||
|
@ -14,10 +14,10 @@ existence of an IPA server.
|
||||
Developers
|
||||
----------
|
||||
For more information on novajoin, refer to:
|
||||
http://docs.openstack.org/developer/novajoin/
|
||||
https://opendev.org/x/novajoin
|
||||
|
||||
For more information on tempest plugins, refer to:
|
||||
http://docs.openstack.org/developer/tempest/plugin.html#using-plugins
|
||||
https://docs.openstack.org/tempest/latest/plugins/index.html
|
||||
|
||||
Bugs
|
||||
----
|
||||
|
@ -41,9 +41,8 @@ project = u'novajoin-tempest-plugin'
|
||||
copyright = u'2017, OpenStack Developers'
|
||||
|
||||
# openstackdocstheme options
|
||||
repository_name = 'openstack/novajoin-tempest-plugin'
|
||||
bug_project = 'Tempest plugin novajoin-tempest-plugin'
|
||||
bug_tag = ''
|
||||
openstackdocs_repo_name = 'x/novajoin-tempest-plugin'
|
||||
openstackdocs_use_storyboard = False
|
||||
|
||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||
add_function_parentheses = True
|
||||
@ -72,7 +71,7 @@ htmlhelp_basename = '%sdoc' % project
|
||||
# [howto/manual]).
|
||||
latex_documents = [
|
||||
('index',
|
||||
'%s.tex' % project,
|
||||
'doc-%s.tex' % project,
|
||||
u'%s Documentation' % project,
|
||||
u'OpenStack Developers', 'manual'),
|
||||
]
|
||||
|
@ -8,6 +8,7 @@ Welcome to the documentation of novajoin-tempest-plugin
|
||||
=======================================================
|
||||
|
||||
Contents:
|
||||
---------
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
@ -15,9 +16,5 @@ Contents:
|
||||
readme
|
||||
contributing
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
* :ref:`genindex`
|
||||
* :ref:`modindex`
|
||||
* :ref:`search`
|
||||
|
16
setup.cfg
16
setup.cfg
@ -1,11 +1,11 @@
|
||||
[metadata]
|
||||
name = novajoin_tempest_plugin
|
||||
summary = OpenStack Novajoin tempest tests.
|
||||
description-file =
|
||||
description_file =
|
||||
README.rst
|
||||
author = OpenStack
|
||||
author-email = openstack-dev@lists.openstack.org
|
||||
home-page = http://www.openstack.org/
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://opendev.org/x/novajoin-tempest-plugin
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
@ -24,13 +24,13 @@ packages =
|
||||
novajoin_tempest_plugin
|
||||
|
||||
[build_sphinx]
|
||||
all-files = 1
|
||||
warning-is-error = 1
|
||||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
all_files = 1
|
||||
warning_is_error = 1
|
||||
source_dir = doc/source
|
||||
build_dir = doc/build
|
||||
|
||||
[upload_sphinx]
|
||||
upload-dir = doc/build/html
|
||||
upload_dir = doc/build/html
|
||||
|
||||
[entry_points]
|
||||
tempest.test_plugins =
|
||||
|
@ -2,16 +2,17 @@
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
|
||||
hacking>=0.12.0,<0.13 # Apache-2.0
|
||||
hacking>=0.12.0,<=3.2.0 # Apache-2.0
|
||||
|
||||
doc8 # Apache-2.0
|
||||
doc8>=0.6.0 # Apache-2.0
|
||||
python-subunit>=0.0.18 # Apache-2.0/BSD
|
||||
sphinx>=1.2.1,!=1.3b1,<1.4 # BSD
|
||||
sphinx>=1.2.1 # BSD
|
||||
oslosphinx>=4.7.0 # Apache-2.0
|
||||
oslotest>=1.10.0 # Apache-2.0
|
||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||
stestr>=1.1.0 # Apache-2.0
|
||||
testscenarios>=0.4 # Apache-2.0/BSD
|
||||
testtools>=1.4.0 # MIT
|
||||
openstackdocstheme>=1.11.0 # Apache-2.0
|
||||
|
||||
pyflakes>=0.8,!=2.0.0 # MIT
|
||||
flake8!=3.0.0,!=2.6.2 # MIT
|
||||
oslo.log>=3.22.0 # Apache-2.0
|
||||
|
9
tox.ini
9
tox.ini
@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 2.0
|
||||
envlist = py35,py27,pep8,docs
|
||||
envlist = py36,py35,py27,pep8,docs
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
@ -10,7 +10,10 @@ setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
whitelist_externals = find
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
stestr run --slowest {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
@ -33,6 +36,6 @@ extension=.rst
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
|
||||
show-source = True
|
||||
ignore = E123,E125
|
||||
ignore = E123,E125,W504,W605
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
|
@ -3,3 +3,4 @@
|
||||
templates:
|
||||
- check-requirements
|
||||
- tempest-plugin-jobs
|
||||
- publish-openstack-docs-pti
|
Loading…
x
Reference in New Issue
Block a user