summaryrefslogtreecommitdiffstats
path: root/etc/conf/cmd_config.yml
blob: 63c87343cb95c4999bb467f6cc5a883d02c2a005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
##############################################################################
# Copyright (c) 2019 opnfv.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

---
cli:
  arguments:
    config:
      # This is a simple example of arguments.
      # Dovetail has no need of this kind of parameters currently.
      # The arguments must be given orderly at the run-time.
      #
      # docker_tag:
      #   flags: 'docker_tag'
      #   path:
      #     - 'functest/docker_tag'
      #     - 'yardstick/docker_tag'
    control:

  options:
    config:
    control:
      testsuite:
        flags:
          - '--testsuite'
        default: 'ovp.2019.12'
        help: 'compliance testsuite.'
      testarea:
        flags:
          - '--testarea'
        multiple: 'True'
        help: 'Compliance testarea within testsuite. Specify option multiple times to include multiple test areas.'
      testcase:
        flags:
          - '--testcase'
        multiple: 'True'
        help: 'Compliance testcase. Specify option multiple times to include multiple test cases.'
      debug:
        flags:
          - '--debug'
          - '-d'
        is_flag: 'True'
        help: 'Flag for showing debug log on screen.'
      stop:
        flags:
          - '--stop'
          - '-s'
        is_flag: 'True'
        help: 'Flag for stopping on test case failure.'
      report:
        flags:
          - '--report'
          - '-r'
        is_flag: 'True'
        help: 'Create a tarball file to upload to OVP web portal'
      offline:
        flags:
          - '--offline'
        is_flag: 'True'
        help: 'run in offline method, which means not to update the docker upstream images, functest, yardstick, etc.'
      noapivalidation:
        flags:
          - '--no-api-validation'
        is_flag: 'True'
        help: 'disable strict API response validation'
      noclean:
        flags:
          - '--no-clean'
          - '-n'
        is_flag: 'True'
        help: 'Keep all Containers created for debuging.'
      deployscenario:
        flags:
          - '--deploy-scenario'
        help: 'Specify the DEPLOY_SCENARIO which will be used as input by each testcase respectively'
      mandatory:
        flags:
          - '--mandatory'
        is_flag: 'True'
        help: 'Run all mandatory test cases.'
      optional:
        flags:
          - '--optional'
        is_flag: 'True'
        help: 'Run all optional test cases.'
      opnfvci:
        flags:
          - '--opnfv-ci'
        is_flag: 'True'
        help: 'Only enabled when running with OPNFV CI jobs and pushing results to TestAPI DB'