mirror of
https://github.com/ceph/ceph
synced 2024-12-25 21:03:31 +00:00
5fd1cd0bed
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
24 lines
554 B
Python
24 lines
554 B
Python
import argparse
|
|
from teuthology.suite import ls
|
|
|
|
|
|
def main():
|
|
args = parse_args()
|
|
ls(args.archive_dir, args.verbose)
|
|
|
|
|
|
def parse_args():
|
|
parser = argparse.ArgumentParser(description='List teuthology job results')
|
|
parser.add_argument(
|
|
'--archive-dir',
|
|
metavar='DIR',
|
|
help='path under which to archive results',
|
|
required=True,
|
|
)
|
|
parser.add_argument(
|
|
'-v', '--verbose',
|
|
action='store_true', default=False,
|
|
help='show reasons tests failed',
|
|
)
|
|
return parser.parse_args()
|