]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
add --name option to teuthology
authorSam Lang <sam.lang@inktank.com>
Wed, 23 Jan 2013 03:53:14 +0000 (21:53 -0600)
committerSam Lang <sam.lang@inktank.com>
Thu, 31 Jan 2013 14:23:34 +0000 (08:23 -0600)
Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/queue.py
teuthology/run.py

index f33f03818eb9eacee5b940b57ba11c2b803b835f..39363c2ff8aa594b3389ddef2ca575680a26f3e7 100644 (file)
@@ -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']])
index c59aba59e99326702bcd3b6df2647eef6d3a2ba3..fcfc3f8e9d8517e005e0b6b18d91bf3fee2d70db 100644 (file)
@@ -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