| - job-template: | |
| project-type: pipeline | |
| description: '{job-description}' | |
| concurrent: true | |
| disabled: false | |
| name: swarm-run-pytest | |
| parameters: | |
| - string: | |
| default: '' | |
| description: 'Required: Fuel-devops environment name' | |
| name: ENV_NAME | |
| trim: 'false' | |
| - string: | |
| default: '' | |
| description: 'Example: refs/changes/89/411189/36 | |
| (for now - only one reference allowed)' | |
| name: TCP_QA_REFS | |
| trim: 'false' | |
| - string: | |
| default: '' | |
| description: 'Required: Name of the jenkins slave to create the environment | |
| To be set by the parent deployment job.' | |
| name: PARENT_NODE_NAME | |
| trim: 'false' | |
| - string: | |
| default: '' | |
| description: 'Completed steps to install components on the environment. | |
| If tests require some additional components, it may be installed in | |
| appropriate fixtures, so set the PASSED_STEPS correctly for the | |
| testing environment.' | |
| name: PASSED_STEPS | |
| trim: 'false' | |
| - string: | |
| default: '' | |
| description: 'Required: Workspace on the jenkins slave to reuse for the job | |
| To be set by the parent deployment job.' | |
| name: PARENT_WORKSPACE | |
| trim: 'false' | |
| - bool: | |
| default: false | |
| description: 'Shutdown the fuel-devops environment at the end of the job' | |
| name: SHUTDOWN_ENV_ON_TEARDOWN | |
| trim: 'false' | |
| - string: | |
| default: | |
| name: ENV_MANAGER | |
| - bool: | |
| default: false | |
| description: 'Use "dos.py snapshot" to snapshot stages of deploy if ENV_MANAGER is devops' | |
| name: MAKE_SNAPSHOT_STAGES | |
| - text: | |
| default: '' | |
| description: |- | |
| Pytest option -k or -m, with expression to select necessary tests. | |
| Additional pytest options are allowed. | |
| name: RUN_TEST_OPTS | |
| trim: 'false' | |
| - string: | |
| default: pike | |
| description: '' | |
| name: TEMPEST_IMAGE_VERSION | |
| trim: 'false' | |
| - string: | |
| default: '' | |
| description: '' | |
| name: TEMPEST_TARGET | |
| trim: 'false' | |
| - string: | |
| default: '' | |
| description: '' | |
| name: TEMPEST_PATTERN | |
| trim: 'false' | |
| - string: | |
| default: '' | |
| description: '' | |
| name: TEMPEST_EXTRA_ARGS | |
| trim: 'false' | |
| pipeline-scm: | |
| lightweight-checkout: false | |
| scm: | |
| - git: | |
| branches: | |
| - FETCH_HEAD | |
| refspec: ${{TCP_QA_REFS}} | |
| url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git | |
| script-path: jobs/pipelines/swarm-run-pytest.groovy | |
| logrotate: | |
| daysToKeep: 365 |