blob: cc97ccb0c4f6536ac99ccf08d230832fdc77cc9d [file] [log] [blame]
Hanna Arhipovab37d9db2020-04-01 15:12:19 +03001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
4 concurrent: true
5 disabled: false
6 name: swarm-deploy-platform
7 parameters:
8 - string:
9 default: '${{LAB_CONFIG_NAME}}'
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: 'Stacks to install using CICD cluster. If IS_DRIVETRAIN is set to False,
22 stacks will be installed using cfg-day01 Jenkins'
23 name: STACK_INSTALL
24 trim: 'false'
25 - string:
26 default: 7200
27 description: ''
28 name: STACK_INSTALL_TIMEOUT
29 trim: 'false'
30 - string:
31 default: ''
32 description: 'Required: Name of the jenkins slave to create the environment
33 To be set by the parent deployment job.'
34 name: PARENT_NODE_NAME
35 trim: 'false'
36 - string:
37 default: ''
38 description: 'Required: Workspace on the jenkins slave to reuse for the job
39 To be set by the parent deployment job.'
40 name: PARENT_WORKSPACE
41 trim: 'false'
42 - bool:
43 default: false
44 description: 'Shutdown the fuel-devops environment at the end of the job'
45 name: SHUTDOWN_ENV_ON_TEARDOWN
46 trim: 'false'
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 - string:
52 default: ''
53 description: ''
54 name: BATCH_SIZE
55 trim: 'false'
56 - bool:
57 default: false
58 description: Whether to perform dist-upgrade on virtual nodes during deployment
59 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +040060 - bool:
61 default: false
62 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
63 name: UPGRADE_SALTSTACK
Hanna Arhipovab37d9db2020-04-01 15:12:19 +030064 pipeline-scm:
65 lightweight-checkout: false
66 scm:
67 - git:
68 branches:
69 - FETCH_HEAD
70 refspec: ${{TCP_QA_REFS}}
71 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git
72 script-path: jobs/pipelines/swarm-deploy-platform.groovy
Vladimir Khlyunevdf655882022-09-27 20:04:18 +040073 logrotate:
74 DaysToKeep: 365
75 artifactDaysToKeep: 60