import docopt import teuthology.misc import teuthology.schedule doc = """ usage: teuthology-schedule -h teuthology-schedule [options] [--] [ ...] Schedule ceph integration tests positional arguments: Config file to read optional arguments: -h, --help Show this help message and exit -v, --verbose Be more verbose -n , --name Name of suite run the job is part of -d , --description Job description -o , --owner Job owner -w , --worker Which worker to use (type of machine) [default: plana] -p , --priority Job priority (lower is sooner) [default: 1000] -N , --num Number of times to run/queue the job [default: 1] --last-in-suite Mark the last job in a suite so suite post-processing can be run [default: False] --email Where to send the results of a suite. Only applies to the last job in a suite. --timeout How many seconds to wait for jobs to finish before emailing results. Only applies to the last job in a suite. """ def main(): args = docopt.docopt(doc) teuthology.schedule.main(args)