From: Sam Lang Date: Wed, 23 Jan 2013 03:53:14 +0000 (-0600) Subject: add --name option to teuthology X-Git-Tag: v0.94.10~27^2^2~364^2~1056 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=87b98496286c9b559279cddf06b372ba9c3af925;p=ceph.git add --name option to teuthology Signed-off-by: Sam Lang Reviewed-by: Josh Durgin --- diff --git a/teuthology/queue.py b/teuthology/queue.py index f33f03818eb..39363c2ff8a 100644 --- a/teuthology/queue.py +++ b/teuthology/queue.py @@ -117,6 +117,7 @@ def run_job(job_config, archive_path): '--block', '--owner', job_config['owner'], '--archive', archive_path, + '--name', job_config['name'], ]) if job_config['description'] is not None: arg.extend(['--description', job_config['description']]) diff --git a/teuthology/run.py b/teuthology/run.py index c59aba59e99..fcfc3f8e9d8 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -61,6 +61,12 @@ def parse_args(): default=False, help='block until locking machines succeeds (use with --lock)', ) + parser.add_argument( + '--name', + action='store_true', + default=False, + help='name for this teuthology run', + ) args = parser.parse_args() return args