Hanna Arhipova | 31db70c | 2020-05-06 14:27:23 +0300 | [diff] [blame] | 1 | - 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' |
Hanna Arhipova | bd4216e | 2020-06-19 17:06:31 +0300 | [diff] [blame] | 44 | - string: |
| 45 | default: |
| 46 | name: ENV_MANAGER |
Hanna Arhipova | 31db70c | 2020-05-06 14:27:23 +0300 | [diff] [blame] | 47 | - bool: |
| 48 | default: false |
| 49 | description: 'Use "dos.py snapshot" to snapshot stages of deploy if ENV_MANAGER is devops' |
| 50 | name: MAKE_SNAPSHOT_STAGES |
| 51 | - text: |
| 52 | default: '' |
| 53 | description: |- |
| 54 | Pytest option -k or -m, with expression to select necessary tests. |
| 55 | Additional pytest options are allowed. |
| 56 | name: RUN_TEST_OPTS |
| 57 | trim: 'false' |
| 58 | - string: |
| 59 | default: pike |
| 60 | description: '' |
| 61 | name: TEMPEST_IMAGE_VERSION |
| 62 | trim: 'false' |
| 63 | - string: |
| 64 | default: '' |
| 65 | description: '' |
| 66 | name: TEMPEST_TARGET |
| 67 | trim: 'false' |
Hanna Arhipova | c887544 | 2020-07-10 13:22:59 +0300 | [diff] [blame] | 68 | - string: |
| 69 | default: '' |
| 70 | description: '' |
| 71 | name: TEMPEST_PATTERN |
| 72 | trim: 'false' |
| 73 | - string: |
| 74 | default: '' |
| 75 | description: '' |
| 76 | name: TEMPEST_EXTRA_ARGS |
| 77 | trim: 'false' |
Hanna Arhipova | 31db70c | 2020-05-06 14:27:23 +0300 | [diff] [blame] | 78 | pipeline-scm: |
| 79 | lightweight-checkout: false |
| 80 | scm: |
| 81 | - git: |
| 82 | branches: |
| 83 | - FETCH_HEAD |
| 84 | refspec: ${{TCP_QA_REFS}} |
| 85 | url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git |
| 86 | script-path: jobs/pipelines/swarm-run-pytest.groovy |