blob: eced52ee1aafa5d658a5a23d72a7022609146d3f [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: ''
15 description: 'Example: refs/changes/89/411189/36
16 (for now - only one reference allowed)'
17 name: TCP_QA_REFS
18 trim: 'false'
19 - string:
20 default: ''
21 description: 'Required: Name of the jenkins slave to create the environment
22 To be set by the parent deployment job.'
23 name: PARENT_NODE_NAME
24 trim: 'false'
25 - string:
26 default: ''
27 description: 'Completed steps to install components on the environment.
28 If tests require some additional components, it may be installed in
29 appropriate fixtures, so set the PASSED_STEPS correctly for the
30 testing environment.'
31 name: PASSED_STEPS
32 trim: 'false'
33 - string:
34 default: ''
35 description: 'Required: Workspace on the jenkins slave to reuse for the job
36 To be set by the parent deployment job.'
37 name: PARENT_WORKSPACE
38 trim: 'false'
39 - bool:
40 default: false
41 description: 'Shutdown the fuel-devops environment at the end of the job'
42 name: SHUTDOWN_ENV_ON_TEARDOWN
43 trim: 'false'
44 - bool:
45 default: false
46 description: 'Use "dos.py snapshot" to snapshot stages of deploy if ENV_MANAGER is devops'
47 name: MAKE_SNAPSHOT_STAGES
48 - text:
49 default: ''
50 description: |-
51 Pytest option -k or -m, with expression to select necessary tests.
52 Additional pytest options are allowed.
53 name: RUN_TEST_OPTS
54 trim: 'false'
55 - string:
56 default: pike
57 description: ''
58 name: TEMPEST_IMAGE_VERSION
59 trim: 'false'
60 - string:
61 default: ''
62 description: ''
63 name: TEMPEST_TARGET
64 trim: 'false'
65 pipeline-scm:
66 lightweight-checkout: false
67 scm:
68 - git:
69 branches:
70 - FETCH_HEAD
71 refspec: ${{TCP_QA_REFS}}
72 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git
73 script-path: jobs/pipelines/swarm-run-pytest.groovy