blob: 3595e01fbab25a8d5ab4a7469c06fe9a50e289dc [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:
11 keep_num: 20
12 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}"
Tomáš Kukrálf416c492017-03-21 18:05:30 +010017 credentials: "gerrit"
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"
Tomáš Kukrálf416c492017-03-21 18:05:30 +010027
Tomáš Kukrále97a47a2017-03-21 19:14:05 +010028 # salt master
29 SALT_MASTER_CREDENTIALS:
30 type: string
31 default: "salt"
32 SALT_MASTER_URL:
33 type: string
34 default: ""
Jakub Josef89d22cb2017-03-23 16:05:30 +010035 ASK_ON_ERROR:
36 type: boolean
37 default: 'false'
Jiri Broulik52b73152017-12-19 15:37:50 +010038 STATIC_MGMT_NETWORK:
39 type: boolean
40 default: 'false'
41 description: "Check if model contains static IP address definitions for all nodes"
Jakub Pavlik6162d452017-06-13 09:59:04 +020042 deploy-openstack-compute:
43 type: workflow-scm
44 concurrent: true
45 display_name: "Deploy - OpenStack Compute node"
46 scm:
47 type: git
48 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010049 branch: "${_param:jenkins_pipelines_branch}"
Jakub Pavlik6162d452017-06-13 09:59:04 +020050 credentials: "gerrit"
51 script: openstack-compute-install.groovy
52 param:
53 SALT_MASTER_URL:
54 type: string
55 default: "${_param:jenkins_salt_api_url}"
56 SALT_MASTER_CREDENTIALS:
57 type: string
58 default: "salt"
59 TARGET_SERVERS:
60 type: string
61 default: ""
Tomáš Kukrále0870442017-07-27 18:28:11 +020062 description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]."