| - job-template: | |
| project-type: pipeline | |
| description: '{job-description}' | |
| concurrent: true | |
| disabled: false | |
| name: swarm-deploy-platform | |
| parameters: | |
| - string: | |
| default: '${{LAB_CONFIG_NAME}}' | |
| 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: 'Stacks to install using CICD cluster. If IS_DRIVETRAIN is set to False, | |
| stacks will be installed using cfg-day01 Jenkins' | |
| name: STACK_INSTALL | |
| trim: 'false' | |
| - string: | |
| default: 7200 | |
| description: '' | |
| name: STACK_INSTALL_TIMEOUT | |
| 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: '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' | |
| - bool: | |
| default: false | |
| description: 'Use "dos.py snapshot" to snapshot stages of deploy if ENV_MANAGER is devops' | |
| name: MAKE_SNAPSHOT_STAGES | |
| - string: | |
| default: '' | |
| description: '' | |
| name: BATCH_SIZE | |
| trim: 'false' | |
| - bool: | |
| default: false | |
| description: Whether to perform dist-upgrade on virtual nodes during deployment | |
| name: DIST_UPGRADE_NODES | |
| 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-deploy-platform.groovy |