blob: e999b964b5fa132e543028e4c38e129bd00d382c [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-cicd
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: 'core,cicd'
21 description: 'Stacks to install using cfg01 node'
22 name: STACK_INSTALL
23 trim: 'false'
24 - string:
25 default: 4800
26 description: ''
27 name: STACK_INSTALL_TIMEOUT
28 trim: 'false'
29 - string:
30 default: ''
31 description: 'Required: Name of the jenkins slave to create the environment
32 To be set by the parent deployment job.'
33 name: PARENT_NODE_NAME
34 trim: 'false'
35 - string:
36 default: ''
37 description: 'Required: Workspace on the jenkins slave to reuse for the job
38 To be set by the parent deployment job.'
39 name: PARENT_WORKSPACE
40 trim: 'false'
41 - bool:
42 default: false
43 description: 'Shutdown the fuel-devops environment at the end of the job'
44 name: SHUTDOWN_ENV_ON_TEARDOWN
45 trim: 'false'
46 - bool:
47 default: false
48 description: 'Use "dos.py snapshot" to snapshot stages of deploy if ENV_MANAGER is devops'
49 name: MAKE_SNAPSHOT_STAGES
50 - string:
51 default: ''
52 description: ''
53 name: BATCH_SIZE
54 trim: 'false'
55 - bool:
56 default: false
57 description: Whether to perform dist-upgrade on virtual nodes during deployment
58 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +040059 - bool:
60 default: false
61 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
62 name: UPGRADE_SALTSTACK
Hanna Arhipovab37d9db2020-04-01 15:12:19 +030063 pipeline-scm:
64 lightweight-checkout: false
65 scm:
66 - git:
67 branches:
68 - FETCH_HEAD
69 refspec: ${{TCP_QA_REFS}}
70 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git
71 script-path: jobs/pipelines/swarm-deploy-cicd.groovy