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: '' |
Anna Arhipova | 37739ee | 2022-08-10 11:46:45 +0200 | [diff] [blame] | 15 | description: '' |
| 16 | name: LAB_CONFIG_NAME |
| 17 | trim: 'false' |
| 18 | - string: |
| 19 | default: '' |
Hanna Arhipova | 31db70c | 2020-05-06 14:27:23 +0300 | [diff] [blame] | 20 | 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 Arhipova | bd4216e | 2020-06-19 17:06:31 +0300 | [diff] [blame] | 49 | - string: |
| 50 | default: |
| 51 | name: ENV_MANAGER |
Hanna Arhipova | 31db70c | 2020-05-06 14:27:23 +0300 | [diff] [blame] | 52 | - 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 Arhipova | c887544 | 2020-07-10 13:22:59 +0300 | [diff] [blame] | 73 | - 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 Arhipova | 31db70c | 2020-05-06 14:27:23 +0300 | [diff] [blame] | 83 | 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 Khlyunev | 82b374f | 2022-09-27 20:51:58 +0000 | [diff] [blame] | 92 | logrotate: |
| 93 | daysToKeep: 365 |