blob: 979ce74ed0903656f7e36425f1181845e17750cf [file] [log] [blame]
dtsapikovf7075062023-01-16 14:29:37 +04001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
4 concurrent: true
5 disabled: false
6 name: swarm-create-cfg-config-drive-jjb
7 properties:
8 - throttle:
9 option: project
10 max-per-node: 3
11 max-total: 3
12 parameters:
13 - string:
14 name: CLUSTER_NAME
15 default: ''
16 description: 'CLUSTER_NAME'
17 trim: 'false'
18 - string:
19 name: MODEL_URL
20 default: ''
21 description: 'Url to model.tar.gz with cluster model generated by cookiecutter'
22 trim: 'false'
23 - choice:
24 choices:
25 - tar.gz
26 - git
27 description: ''
28 name: MODEL_URL_OBJECT_TYPE
29 - bool:
30 name: DOWNLOAD_CONFIG_DRIVE
31 default: false
32 description: ''
33 - string:
34 name: MCP_VERSION
35 default: 'proposed'
36 description: ''
37 trim: 'false'
38 - string:
39 name: COMMON_SCRIPTS_COMMIT
40 default: '2018.4.0'
41 description: 'COMMON_SCRIPTS_COMMIT'
42 trim: 'false'
43 - string:
44 name: NODE_NAME
45 default: 'offline-deploy'
46 description: 'Node name or label to run the stages'
47 trim: 'false'
48 - string:
49 name: CONFIG_DRIVE_ISO_NAME
50 default: ''
51 description: 'If empty, it will be set to: cfg01.${{DOMAIN_NAME}}-config-${{dateFormat.format(date)}}.iso'
52 trim: 'false'
53 - string:
54 name: SALT_MASTER_DEPLOY_IP
55 default: '10.10.0.15'
56 description: ''
57 trim: 'false'
58 - string:
59 name: DEPLOY_NETWORK_GW
60 default: '10.10.0.1'
61 description: ''
62 trim: 'false'
63 - string:
64 name: DEPLOY_NETWORK_NETMASK
65 default: '255.255.0.0'
66 description: ''
67 trim: 'false'
68 - string:
69 name: DNS_SERVERS
70 default: '172.18.176.6'
71 description: ''
72 trim: 'false'
73 - string:
74 name: PIPELINE_REPO_URL
75 default: 'http://10.10.0.14:8088'
76 description: ''
77 trim: 'false'
78 - bool:
79 name: PIPELINES_FROM_ISO
80 default: false
81 description: |
82 If true: will be used pipeline repositories included in this ISO
83 If false: will be used PIPELINE_REPO_URL during cfg01 node bootstrap
84 - string:
85 name: MCP_SALT_REPO_URL
86 default: ''
87 description: |
88 If empty: use default from mcp-common-scripts config-drive/master_config.yaml
89 For offline deploy: http://10.10.0.14/ubuntu-xenial
90 For online deploy: http://mirror.mirantis.com/
91 trim: 'false'
92 - string:
93 name: MCP_SALT_REPO_KEY
94 default: ''
95 description: |
96 If empty: use default from mcp-common-scripts config-drive/master_config.yaml
97 For offline deploy: http://10.10.0.14/public.gpg
98 For online deploy: ${{MCP_SALT_REPO_URL}}/${{MCP_VERSION}}/salt-formulas/xenial/archive-salt-formulas.key
99 trim: 'false'
100 - string:
101 name: PIPELINE_LIBRARY_REF
102 default: ''
103 description: ''
104 trim: 'false'
105 - string:
106 name: MK_PIPELINES_REF
107 default: ''
108 description: ''
109 trim: 'false'
110 - string:
111 name: MCP_COMMON_SCRIPTS_REFS
112 default: ''
113 description: ''
114 trim: 'false'
115 - string:
116 name: TCP_QA_REFS
117 default: ''
118 description: |
119 Example: refs/changes/89/411189/36
120 (for now - only one reference allowed)
121 trim: 'false'
122 - string:
123 name: GERRIT_MCP_CREDENTIALS_ID
124 default: 'f4fb9dd6-ba63-4085-82f7-3fa601334d95'
125 description: 'Credentials ID to access gerrit.mcp.mirantis.net'
126 trim: 'false'
127 - string:
128 name: DEPLOY_NETWORK_MTU
129 default: '1450'
130 description: ''
131 trim: 'false'
132 - string:
133 name: MCP_SALT_REPO_UPDATES
134 default: ''
135 description: ''
136 trim: 'false'
137 pipeline-scm:
138 lightweight-checkout: false
139 scm:
140 - git:
141 branches:
142 - FETCH_HEAD
143 refspec: ${{TCP_QA_REFS}}
144 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
145 script-path: jobs/pipelines/swarm-create-cfg-config-drive.groovy
146 logrotate:
147 daysToKeep: 30