blob: e06b3ef31defba1eb5294e1f38c1d6b8c3a348d5 [file] [log] [blame]
Hanna Arhipova31db70c2020-05-06 14:27:23 +03001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
4 concurrent: true
5 disabled: false
6 name: swarm-run-pytest
7 parameters:
8 - string:
9 default: ''
10 description: 'Required: Fuel-devops environment name'
11 name: ENV_NAME
12 trim: 'false'
13 - string:
14 default: ''
Anna Arhipova37739ee2022-08-10 11:46:45 +020015 description: ''
16 name: LAB_CONFIG_NAME
17 trim: 'false'
18 - string:
19 default: ''
Hanna Arhipova31db70c2020-05-06 14:27:23 +030020 description: 'Example: refs/changes/89/411189/36
21 (for now - only one reference allowed)'
22 name: TCP_QA_REFS
23 trim: 'false'
24 - string:
25 default: ''
26 description: 'Required: Name of the jenkins slave to create the environment
27 To be set by the parent deployment job.'
28 name: PARENT_NODE_NAME
29 trim: 'false'
30 - string:
31 default: ''
32 description: 'Completed steps to install components on the environment.
33 If tests require some additional components, it may be installed in
34 appropriate fixtures, so set the PASSED_STEPS correctly for the
35 testing environment.'
36 name: PASSED_STEPS
37 trim: 'false'
38 - string:
39 default: ''
40 description: 'Required: Workspace on the jenkins slave to reuse for the job
41 To be set by the parent deployment job.'
42 name: PARENT_WORKSPACE
43 trim: 'false'
44 - bool:
45 default: false
46 description: 'Shutdown the fuel-devops environment at the end of the job'
47 name: SHUTDOWN_ENV_ON_TEARDOWN
48 trim: 'false'
Hanna Arhipovabd4216e2020-06-19 17:06:31 +030049 - string:
50 default:
51 name: ENV_MANAGER
Hanna Arhipova31db70c2020-05-06 14:27:23 +030052 - bool:
53 default: false
54 description: 'Use "dos.py snapshot" to snapshot stages of deploy if ENV_MANAGER is devops'
55 name: MAKE_SNAPSHOT_STAGES
56 - text:
57 default: ''
58 description: |-
59 Pytest option -k or -m, with expression to select necessary tests.
60 Additional pytest options are allowed.
61 name: RUN_TEST_OPTS
62 trim: 'false'
63 - string:
64 default: pike
65 description: ''
66 name: TEMPEST_IMAGE_VERSION
67 trim: 'false'
68 - string:
69 default: ''
70 description: ''
71 name: TEMPEST_TARGET
72 trim: 'false'
Hanna Arhipovac8875442020-07-10 13:22:59 +030073 - string:
74 default: ''
75 description: ''
76 name: TEMPEST_PATTERN
77 trim: 'false'
78 - string:
79 default: ''
80 description: ''
81 name: TEMPEST_EXTRA_ARGS
82 trim: 'false'
Hanna Arhipova31db70c2020-05-06 14:27:23 +030083 pipeline-scm:
84 lightweight-checkout: false
85 scm:
86 - git:
87 branches:
88 - FETCH_HEAD
89 refspec: ${{TCP_QA_REFS}}
90 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git
91 script-path: jobs/pipelines/swarm-run-pytest.groovy
Vladimir Khlyunev82b374f2022-09-27 20:51:58 +000092 logrotate:
93 daysToKeep: 365