blob: d5ed556136a41745f0bf0ceb297d1a45ad4be4b2 [file] [log] [blame]
Tomáš Kukrálf416c492017-03-21 18:05:30 +01001parameters:
Alexander Noskov43cfe612017-12-06 11:17:55 +04002 _param:
3 jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
Tomáš Kukrálf416c492017-03-21 18:05:30 +01004 jenkins:
5 client:
6 job:
7 deploy_openstack:
8 type: workflow-scm
9 name: deploy-openstack
10 display_name: "Deploy - OpenStack"
11 discard:
12 build:
Jakub Josef1a828962018-01-23 12:33:34 +010013 keep_num: 50
Tomáš Kukrálf416c492017-03-21 18:05:30 +010014 concurrent: true
15 scm:
16 type: git
17 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010018 branch: "${_param:jenkins_pipelines_branch}"
Tomáš Kukrálf416c492017-03-21 18:05:30 +010019 credentials: "gerrit"
Tomáš Kukrále0870442017-07-27 18:28:11 +020020 script: cloud-deploy-pipeline.groovy
Tomáš Kukrále97a47a2017-03-21 19:14:05 +010021 param:
22 # deployments and test settings
23 STACK_TYPE:
24 type: string
25 default: "physical"
Richard Felkl32b7e9f2017-05-24 17:21:42 +020026 STACK_INSTALL:
Tomáš Kukrále97a47a2017-03-21 19:14:05 +010027 type: string
28 default: "core,kvm,openstack,stacklight"
Jiri Broulik512065f2018-02-27 11:34:14 +010029 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."
Tomáš Kukrále97a47a2017-03-21 19:14:05 +010030 # salt master
31 SALT_MASTER_CREDENTIALS:
32 type: string
33 default: "salt"
34 SALT_MASTER_URL:
35 type: string
Alexander Noskov43cfe612017-12-06 11:17:55 +040036 default: "${_param:jenkins_salt_api_url}"
Jakub Josef89d22cb2017-03-23 16:05:30 +010037 ASK_ON_ERROR:
38 type: boolean
39 default: 'false'
Jiri Broulik52b73152017-12-19 15:37:50 +010040 STATIC_MGMT_NETWORK:
41 type: boolean
42 default: 'false'
43 description: "Check if model contains static IP address definitions for all nodes"
Jakub Pavlik6162d452017-06-13 09:59:04 +020044 deploy-openstack-compute:
45 type: workflow-scm
46 concurrent: true
Alexander Evseevbb2e6402018-08-07 11:48:52 +020047 discard:
48 build:
49 keep_num: 50
Jakub Pavlik6162d452017-06-13 09:59:04 +020050 display_name: "Deploy - OpenStack Compute node"
51 scm:
52 type: git
53 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010054 branch: "${_param:jenkins_pipelines_branch}"
Jakub Pavlik6162d452017-06-13 09:59:04 +020055 credentials: "gerrit"
56 script: openstack-compute-install.groovy
57 param:
58 SALT_MASTER_URL:
59 type: string
60 default: "${_param:jenkins_salt_api_url}"
61 SALT_MASTER_CREDENTIALS:
62 type: string
63 default: "salt"
64 TARGET_SERVERS:
65 type: string
66 default: ""
Tomáš Kukrále0870442017-07-27 18:28:11 +020067 description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]."