Tomáš Kukrál | f416c49 | 2017-03-21 18:05:30 +0100 | [diff] [blame] | 1 | parameters: |
| 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 Josef | 1a82896 | 2018-01-23 12:33:34 +0100 | [diff] [blame] | 11 | keep_num: 50 |
Tomáš Kukrál | f416c49 | 2017-03-21 18:05:30 +0100 | [diff] [blame] | 12 | concurrent: true |
| 13 | scm: |
| 14 | type: git |
| 15 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 16 | branch: "${_param:jenkins_pipelines_branch}" |
Tomáš Kukrál | f416c49 | 2017-03-21 18:05:30 +0100 | [diff] [blame] | 17 | credentials: "gerrit" |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 18 | script: cloud-deploy-pipeline.groovy |
Tomáš Kukrál | e97a47a | 2017-03-21 19:14:05 +0100 | [diff] [blame] | 19 | param: |
| 20 | # deployments and test settings |
| 21 | STACK_TYPE: |
| 22 | type: string |
| 23 | default: "physical" |
Richard Felkl | 32b7e9f | 2017-05-24 17:21:42 +0200 | [diff] [blame] | 24 | STACK_INSTALL: |
Tomáš Kukrál | e97a47a | 2017-03-21 19:14:05 +0100 | [diff] [blame] | 25 | type: string |
| 26 | default: "core,kvm,openstack,stacklight" |
Jiri Broulik | 512065f | 2018-02-27 11:34:14 +0100 | [diff] [blame] | 27 | 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ál | e97a47a | 2017-03-21 19:14:05 +0100 | [diff] [blame] | 28 | # salt master |
| 29 | SALT_MASTER_CREDENTIALS: |
| 30 | type: string |
| 31 | default: "salt" |
| 32 | SALT_MASTER_URL: |
| 33 | type: string |
Alexander Noskov | 43cfe61 | 2017-12-06 11:17:55 +0400 | [diff] [blame] | 34 | default: "${_param:jenkins_salt_api_url}" |
Jakub Josef | 89d22cb | 2017-03-23 16:05:30 +0100 | [diff] [blame] | 35 | ASK_ON_ERROR: |
| 36 | type: boolean |
| 37 | default: 'false' |
Jiri Broulik | 52b7315 | 2017-12-19 15:37:50 +0100 | [diff] [blame] | 38 | STATIC_MGMT_NETWORK: |
| 39 | type: boolean |
| 40 | default: 'false' |
| 41 | description: "Check if model contains static IP address definitions for all nodes" |
Jakub Pavlik | 6162d45 | 2017-06-13 09:59:04 +0200 | [diff] [blame] | 42 | deploy-openstack-compute: |
| 43 | type: workflow-scm |
| 44 | concurrent: true |
Oleh Hryhorov | c917945 | 2019-03-12 15:30:15 +0200 | [diff] [blame^] | 45 | 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 Evseev | bb2e640 | 2018-08-07 11:48:52 +0200 | [diff] [blame] | 46 | discard: |
| 47 | build: |
| 48 | keep_num: 50 |
Jakub Pavlik | 6162d45 | 2017-06-13 09:59:04 +0200 | [diff] [blame] | 49 | display_name: "Deploy - OpenStack Compute node" |
| 50 | scm: |
| 51 | type: git |
| 52 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 53 | branch: "${_param:jenkins_pipelines_branch}" |
Jakub Pavlik | 6162d45 | 2017-06-13 09:59:04 +0200 | [diff] [blame] | 54 | credentials: "gerrit" |
| 55 | script: openstack-compute-install.groovy |
| 56 | param: |
| 57 | SALT_MASTER_URL: |
| 58 | type: string |
| 59 | default: "${_param:jenkins_salt_api_url}" |
| 60 | SALT_MASTER_CREDENTIALS: |
| 61 | type: string |
| 62 | default: "salt" |
| 63 | TARGET_SERVERS: |
| 64 | type: string |
| 65 | default: "" |
Tomáš Kukrál | e087044 | 2017-07-27 18:28:11 +0200 | [diff] [blame] | 66 | description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]." |