blob: 2e896593f14fe946c4e5b17bcbd2ce27e1edb3af [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:
13 keep_num: 20
14 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"
Tomáš Kukrálf416c492017-03-21 18:05:30 +010029
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
47 display_name: "Deploy - OpenStack Compute node"
48 scm:
49 type: git
50 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010051 branch: "${_param:jenkins_pipelines_branch}"
Jakub Pavlik6162d452017-06-13 09:59:04 +020052 credentials: "gerrit"
53 script: openstack-compute-install.groovy
54 param:
55 SALT_MASTER_URL:
56 type: string
57 default: "${_param:jenkins_salt_api_url}"
58 SALT_MASTER_CREDENTIALS:
59 type: string
60 default: "salt"
61 TARGET_SERVERS:
62 type: string
63 default: ""
Tomáš Kukrále0870442017-07-27 18:28:11 +020064 description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]."