Common code for writing OpenStack upgrade checks.
Go to file
Doug Hellmann ac97329770 tighten API for main()
Have the caller set up any of their options before passing a
ConfigOpts instance to main() and then let main() take over processing
from there.

Change the check callback argument to take an UpgradeCommands instance
so in the future if there are more commands we can get the callbacks
out of it ourself.

Add a default_config_files option to main() so that applications can
pass locations oslo.config won't find by default.

Change 'category' to 'command'.

Use a closure in _register_cli_options instead of a separate function
that requires a partial.

Change-Id: Ic4f25fd23d424acfcfe185a85bb63abf7d25c39e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-08 12:57:32 -04:00
doc/source tighten API for main() 2018-10-08 12:57:32 -04:00
oslo_upgradecheck tighten API for main() 2018-10-08 12:57:32 -04:00
.coveragerc Get coverage job working 2018-09-13 16:17:56 +00:00
.gitignore Migrate to stestr 2018-09-13 15:50:37 +00:00
.gitreview Initial commit 2018-09-12 17:35:58 +00:00
.mailmap Initial commit 2018-09-12 17:35:58 +00:00
.stestr.conf Add .zuul.yaml and .stestr.conf 2018-09-20 15:41:08 +00:00
.zuul.yaml Add lower-constraints job 2018-09-21 21:36:01 +00:00
CONTRIBUTING.rst Initial commit 2018-09-12 17:35:58 +00:00
HACKING.rst Initial commit 2018-09-12 17:35:58 +00:00
LICENSE Initial commit 2018-09-12 17:35:58 +00:00
README.rst Flesh out readme 2018-09-20 15:41:21 +00:00
babel.cfg Initial commit 2018-09-12 17:35:58 +00:00
lower-constraints.txt Proper requirements specification 2018-09-12 22:39:56 +00:00
requirements.txt Proper requirements specification 2018-09-12 22:39:56 +00:00
setup.cfg Initial commit 2018-09-12 17:35:58 +00:00
setup.py Initial commit 2018-09-12 17:35:58 +00:00
test-requirements.txt Migrate to stestr 2018-09-13 15:50:37 +00:00
tox.ini Modernize tox.ini 2018-09-26 20:51:45 +00:00

README.rst

oslo.upgradecheck

Common code for writing OpenStack upgrade checks

This project contains the common code necessary for writing upgrade checks in OpenStack projects. It includes a module (oslo_upgradecheck.upgradecheck) for the common code as well as an example (oslo_upgradecheck.__main__) of integrating that code into a project.