ceph/scripts/run.py
Andrew Schoen e2410e062a Respect --os-version and --os-type in teuthology.run.
Remove default value of 'ubuntu' for --os-type for teuthology.run and
make sure that teuthology.misc.get_distro accounts for ctx.os_type now
defaulting to None instead of 'ubuntu'.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-12-17 14:36:40 -06:00

35 lines
1.3 KiB
Python

"""
usage: teuthology --help
teuthology --version
teuthology [options] [--] <config>...
Run ceph integration tests
positional arguments:
<config> one or more config files to read
optional arguments:
-h, --help show this help message and exit
-v, --verbose be more verbose
--version the current installed version of teuthology
-a DIR, --archive DIR path to archive results in
--description DESCRIPTION job description
--owner OWNER job owner
--lock lock machines for the duration of the run
--machine-type MACHINE_TYPE Type of machine to lock/run tests on.
--os-type OS_TYPE Distro/OS of machine to run test on.
--os-version OS_VERSION Distro/OS version of machine to run test on.
--block block until locking machines succeeds (use with --lock)
--name NAME name for this teuthology run
--suite-path SUITE_PATH Location of ceph-qa-suite on disk. If not specified,
it will be fetched
"""
import docopt
import teuthology.run
def main():
args = docopt.docopt(__doc__, version=teuthology.__version__)
teuthology.run.main(args)