]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: sync with new teuthology-suite arguments
authorLoic Dachary <ldachary@redhat.com>
Fri, 10 Feb 2017 10:44:29 +0000 (11:44 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Thu, 18 Oct 2018 22:52:44 +0000 (00:52 +0200)
Signed-off-by: Loic Dachary <ldachary@redhat.com>
scripts/openstack.py

index c758dc6b34b13b84c33cfb1a983e8c1a2b9bd6f1..9995e864a5bf7d7eb7b16bd9f3f31f8a19465b94 100644 (file)
@@ -123,6 +123,53 @@ def get_suite_parser():
         type=int,
         default=15,
     )
+    parser.add_argument(
+        '--suite-relpath',
+        help=('Look for tasks and suite definitions in this'
+              'subdirectory of the suite repo.'),
+    )
+    parser.add_argument(
+        '-r', '--rerun',
+        help=('Attempt to reschedule a run, selecting only those'
+              'jobs whose status are mentioned by'
+              '--rerun-status.'
+              'Note that this is implemented by scheduling an'
+              'entirely new suite and including only jobs whose'
+              'descriptions match the selected ones. It does so'
+              'using the same logic as --filter.'
+              'Of all the flags that were passed when scheduling'
+              'the original run, the resulting one will only'
+              'inherit the suite value. Any others must be'
+              'passed as normal while scheduling with this'
+              'feature.'),
+    )
+    parser.add_argument(
+        '-R', '--rerun-statuses',
+        help=("A comma-separated list of statuses to be used"
+              "with --rerun. Supported statuses are: 'dead',"
+              "'fail', 'pass', 'queued', 'running', 'waiting'"),
+        default='fail,dead',
+    )
+    parser.add_argument(
+        '-D', '--distroversion', '--distro-version',
+        help='Distro version to run against',
+    )
+    parser.add_argument(
+        '-n', '--newest',
+        help=('Search for the newest revision built on all'
+              'required distro/versions, starting from'
+              'either --ceph or --sha1, backtracking'
+              'up to <newest> commits'),
+        type=int,
+        default=0,
+    )
+    parser.add_argument(
+        '-S', '--sha1',
+        help=('The ceph sha1 to run against (overrides -c)'
+              'If both -S and -c are supplied, -S wins, and'
+              'there is no validation that sha1 is contained'
+              'in branch')
+    )
     parser.add_argument(
         '--ceph-git-url',
         help=("git clone url for Ceph"),