Jakub Josef | 9ab3144 | 2017-04-05 14:02:59 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - system.jenkins.client.job.image |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 3 | parameters: |
Filip Pytloun | a83bbee | 2017-03-15 18:13:59 +0100 | [diff] [blame] | 4 | _param: |
| 5 | jenkins_packer_pipeline: "${_param:jenkins_gerrit_url}/mk/packer-templates" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 6 | jenkins: |
| 7 | client: |
| 8 | job: |
| 9 | build-image-centos-7: |
| 10 | type: workflow-scm |
| 11 | concurrent: false |
| 12 | scm: |
| 13 | type: git |
| 14 | url: "${_param:jenkins_packer_pipeline}" |
| 15 | credentials: "gerrit" |
| 16 | display_name: "[Images] Build Centos 7" |
| 17 | param: |
| 18 | BUILD_OS: |
| 19 | type: string |
| 20 | default: "centos-7" |
| 21 | BUILD_ONLY: |
| 22 | type: string |
| 23 | default: "qemu" |
| 24 | PACKER_DEBUG: |
| 25 | type: boolean |
| 26 | default: "false" |
| 27 | PACKER_URL: |
| 28 | type: string |
| 29 | default: "https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip" |
| 30 | PACKER_ZIP: |
| 31 | type: string |
| 32 | default: "packer_0.8.6_linux_amd64.zip" |
| 33 | PACKER_ZIP_MD5: |
| 34 | type: string |
| 35 | default: "4cda1c44cf666fada495dd8e01522e1c" |
| 36 | PACKER_ARGS: |
| 37 | type: string |
| 38 | default: "" |
| 39 | UPLOAD_URL: |
| 40 | type: string |
Jakub Josef | 9a64770 | 2017-09-04 18:36:05 +0200 | [diff] [blame] | 41 | default: "${_param:jenkins_packer_upload_url}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 42 | SKIP_UPLOAD: |
| 43 | type: boolean |
| 44 | default: "false" |
| 45 | CLEANUP_OLD: |
| 46 | type: boolean |
| 47 | default: "true" |
| 48 | CLEANUP_KEEP: |
| 49 | type: string |
| 50 | default: "3" |
| 51 | GLANCE_UPLOAD: |
| 52 | type: boolean |
| 53 | default: "true" |
| 54 | GLANCE_IMG_TYPES: |
| 55 | type: string |
| 56 | default: "qcow2" |
| 57 | GLANCE_URL: |
| 58 | type: string |
Filip Pytloun | 0e5067b | 2017-06-28 16:26:04 +0200 | [diff] [blame] | 59 | default: "https://cloud-cz.bud.mirantis.net:5000" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 60 | GLANCE_CREDENTIALS_ID: |
| 61 | type: string |
Filip Pytloun | 0e5067b | 2017-06-28 16:26:04 +0200 | [diff] [blame] | 62 | default: "openstack-devcloud-credentials" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 63 | GLANCE_PROJECT: |
| 64 | type: string |
Filip Pytloun | 0e5067b | 2017-06-28 16:26:04 +0200 | [diff] [blame] | 65 | default: "mcp-mk" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 66 | GLANCE_ARGS: |
| 67 | type: string |
| 68 | default: "" |
| 69 | GLANCE_PUBLIC: |
| 70 | type: boolean |
| 71 | default: "true" |
| 72 | OPENSTACK_API_CLIENT: |
| 73 | type: string |
Filip Pytloun | 0e5067b | 2017-06-28 16:26:04 +0200 | [diff] [blame] | 74 | default: "" |