Tomáš Kukrál | f416c49 | 2017-03-21 18:05:30 +0100 | [diff] [blame] | 1 | parameters: |
Alexander Noskov | 43cfe61 | 2017-12-06 11:17:55 +0400 | [diff] [blame^] | 2 | _param: |
| 3 | jenkins_salt_api_url: "http://${_param:salt_master_host}:6969" |
Tomáš Kukrál | f416c49 | 2017-03-21 18:05:30 +0100 | [diff] [blame] | 4 | 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 Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 18 | branch: "${_param:jenkins_pipelines_branch}" |
Tomáš Kukrál | f416c49 | 2017-03-21 18:05:30 +0100 | [diff] [blame] | 19 | credentials: "gerrit" |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 20 | script: cloud-deploy-pipeline.groovy |
Tomáš Kukrál | e97a47a | 2017-03-21 19:14:05 +0100 | [diff] [blame] | 21 | param: |
| 22 | # deployments and test settings |
| 23 | STACK_TYPE: |
| 24 | type: string |
| 25 | default: "physical" |
Richard Felkl | 32b7e9f | 2017-05-24 17:21:42 +0200 | [diff] [blame] | 26 | STACK_INSTALL: |
Tomáš Kukrál | e97a47a | 2017-03-21 19:14:05 +0100 | [diff] [blame] | 27 | type: string |
| 28 | default: "core,kvm,openstack,stacklight" |
Tomáš Kukrál | f416c49 | 2017-03-21 18:05:30 +0100 | [diff] [blame] | 29 | |
Tomáš Kukrál | e97a47a | 2017-03-21 19:14:05 +0100 | [diff] [blame] | 30 | # salt master |
| 31 | SALT_MASTER_CREDENTIALS: |
| 32 | type: string |
| 33 | default: "salt" |
| 34 | SALT_MASTER_URL: |
| 35 | type: string |
Alexander Noskov | 43cfe61 | 2017-12-06 11:17:55 +0400 | [diff] [blame^] | 36 | default: "${_param:jenkins_salt_api_url}" |
Jakub Josef | 89d22cb | 2017-03-23 16:05:30 +0100 | [diff] [blame] | 37 | ASK_ON_ERROR: |
| 38 | type: boolean |
| 39 | default: 'false' |
Jiri Broulik | 52b7315 | 2017-12-19 15:37:50 +0100 | [diff] [blame] | 40 | STATIC_MGMT_NETWORK: |
| 41 | type: boolean |
| 42 | default: 'false' |
| 43 | description: "Check if model contains static IP address definitions for all nodes" |
Jakub Pavlik | 6162d45 | 2017-06-13 09:59:04 +0200 | [diff] [blame] | 44 | 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 Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 51 | branch: "${_param:jenkins_pipelines_branch}" |
Jakub Pavlik | 6162d45 | 2017-06-13 09:59:04 +0200 | [diff] [blame] | 52 | 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ál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 64 | description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]." |