blob: ae63040ac34b7fb84488c8b00ab7255b64b16423 [file] [log] [blame]
Tomáš Kukrálf416c492017-03-21 18:05:30 +01001parameters:
2 jenkins:
3 client:
4 job:
5 deploy_openstack:
6 type: workflow-scm
7 name: deploy-openstack
8 display_name: "Deploy - OpenStack"
9 discard:
10 build:
Jakub Josef1a828962018-01-23 12:33:34 +010011 keep_num: 50
Tomáš Kukrálf416c492017-03-21 18:05:30 +010012 concurrent: true
13 scm:
14 type: git
15 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010016 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040017 credentials: ${_param:jenkins_gerrit_credentials}
Tomáš Kukrále0870442017-07-27 18:28:11 +020018 script: cloud-deploy-pipeline.groovy
Tomáš Kukrále97a47a2017-03-21 19:14:05 +010019 param:
20 # deployments and test settings
21 STACK_TYPE:
22 type: string
23 default: "physical"
Richard Felkl32b7e9f2017-05-24 17:21:42 +020024 STACK_INSTALL:
Tomáš Kukrále97a47a2017-03-21 19:14:05 +010025 type: string
26 default: "core,kvm,openstack,stacklight"
Jiri Broulik512065f2018-02-27 11:34:14 +010027 description: "Components to be installed. Valid values are 'core,kvm,k8s,openstack,contrail,ovs,ceph,oss,cicd,stacklight,sl-legacy,finalize'. For all deployments it's recommended to run 'finalize' as a final step as Salt highstate on all nodes will be run."
Denis Egorenkocc9a8c72019-08-27 13:54:40 +040028 BATCH_SIZE:
29 type: string
30 default: ''
31 description: 'Use batching for states, which targeted for large amount of nodes. Can be Integer or Percentage, e.g 20 or 20%'
Ivan Berezovskiye40a6b52020-01-27 14:35:10 +040032 DIST_UPGRADE_NODES:
33 type: boolean
34 default: 'false'
35 description: 'Whether to run "apt-get dist-upgrade" on all nodes in cluster before deployment'
Denis V. Meltsaykin7c2e3a22020-05-11 16:41:47 +020036 UPGRADE_SALTSTACK:
37 type: boolean
38 default: 'false'
39 description: 'Whether to install recent available saltstack packages'
Tomáš Kukrále97a47a2017-03-21 19:14:05 +010040 # salt master
41 SALT_MASTER_CREDENTIALS:
42 type: string
43 default: "salt"
44 SALT_MASTER_URL:
45 type: string
Alexander Noskov43cfe612017-12-06 11:17:55 +040046 default: "${_param:jenkins_salt_api_url}"
Jakub Josef89d22cb2017-03-23 16:05:30 +010047 ASK_ON_ERROR:
48 type: boolean
49 default: 'false'
Jiri Broulik52b73152017-12-19 15:37:50 +010050 STATIC_MGMT_NETWORK:
51 type: boolean
52 default: 'false'
53 description: "Check if model contains static IP address definitions for all nodes"
Jakub Pavlik6162d452017-06-13 09:59:04 +020054 deploy-openstack-compute:
55 type: workflow-scm
56 concurrent: true
Oleh Hryhorovc9179452019-03-12 15:30:15 +020057 description: "\n This pipeline is provided as technical preview. Do not use the pipeline in production environments as the result of the pipeline is unpredictable."
Alexander Evseevbb2e6402018-08-07 11:48:52 +020058 discard:
59 build:
60 keep_num: 50
Jakub Pavlik6162d452017-06-13 09:59:04 +020061 display_name: "Deploy - OpenStack Compute node"
62 scm:
63 type: git
64 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010065 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkinef9eabf2019-06-19 17:53:07 +040066 credentials: ${_param:jenkins_gerrit_credentials}
Jakub Pavlik6162d452017-06-13 09:59:04 +020067 script: openstack-compute-install.groovy
68 param:
69 SALT_MASTER_URL:
70 type: string
71 default: "${_param:jenkins_salt_api_url}"
72 SALT_MASTER_CREDENTIALS:
73 type: string
74 default: "salt"
75 TARGET_SERVERS:
76 type: string
77 default: ""
Tomáš Kukrále0870442017-07-27 18:28:11 +020078 description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]."
Denis Egorenkocc9a8c72019-08-27 13:54:40 +040079 BATCH_SIZE:
80 type: string
81 default: ''
82 description: 'Use batching for states, which targeted for large amount of nodes. Can be Integer or Percentage, e.g 20 or 20%'