Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | build-image-ubuntu-14-04: |
| 6 | type: workflow-scm |
| 7 | concurrent: false |
| 8 | discard: |
| 9 | build: |
| 10 | keep_num: 5 |
| 11 | keep_days: 5 |
| 12 | artifact: |
| 13 | keep_num: 6 |
| 14 | keep_days: 6 |
| 15 | scm: |
| 16 | type: git |
| 17 | url: "${_param:jenkins_packer_pipeline}" |
| 18 | credentials: "gerrit" |
| 19 | display_name: "[Images] Build Ubuntu 14.04 image" |
| 20 | param: |
| 21 | BUILD_OS: |
| 22 | type: string |
| 23 | default: "ubuntu-14.04" |
| 24 | BUILD_ONLY: |
| 25 | type: string |
| 26 | default: "qemu" |
| 27 | PACKER_DEBUG: |
| 28 | type: boolean |
| 29 | default: "false" |
| 30 | PACKER_URL: |
| 31 | type: string |
| 32 | default: "https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip" |
| 33 | PACKER_ZIP: |
| 34 | type: string |
| 35 | default: "packer_0.8.6_linux_amd64.zip" |
| 36 | PACKER_ZIP_MD5: |
| 37 | type: string |
| 38 | default: "4cda1c44cf666fada495dd8e01522e1c" |
| 39 | PACKER_ARGS: |
| 40 | type: string |
| 41 | default: "" |
| 42 | UPLOAD_URL: |
| 43 | type: string |
| 44 | default: "http://jenkins:eyoocaiG3ADireK3Eef8gae1roh5oox0@10.10.100.85:8088/" |
| 45 | SKIP_UPLOAD: |
| 46 | type: boolean |
| 47 | default: "false" |
| 48 | CLEANUP_OLD: |
| 49 | type: boolean |
| 50 | default: "true" |
| 51 | CLEANUP_KEEP: |
| 52 | type: string |
| 53 | default: "3" |
| 54 | GLANCE_UPLOAD: |
| 55 | type: boolean |
| 56 | default: "true" |
| 57 | GLANCE_IMG_TYPES: |
| 58 | type: string |
| 59 | default: "qcow2" |
| 60 | GLANCE_URL: |
| 61 | type: string |
| 62 | default: "https://vpc.tcpisek.cz:5000/v2.0" |
| 63 | GLANCE_CREDENTIALS_ID: |
| 64 | type: string |
| 65 | default: "openstack-qa-credentials" |
| 66 | GLANCE_PROJECT: |
| 67 | type: string |
| 68 | default: "mirantis_mk20_qa" |
| 69 | GLANCE_ARGS: |
| 70 | type: string |
| 71 | default: "" |
| 72 | GLANCE_PUBLIC: |
| 73 | type: boolean |
| 74 | default: "true" |
| 75 | OPENSTACK_API_CLIENT: |
| 76 | type: string |
| 77 | default: "liberty" |
| 78 | build-image-ubuntu-16-04: |
| 79 | type: workflow-scm |
| 80 | concurrent: false |
| 81 | scm: |
| 82 | type: git |
| 83 | url: "${_param:jenkins_packer_pipeline}" |
| 84 | credentials: "gerrit" |
| 85 | display_name: "[Images] Build Ubuntu 16.04 image" |
| 86 | param: |
| 87 | BUILD_OS: |
| 88 | type: string |
| 89 | default: "ubuntu-16.04" |
| 90 | BUILD_ONLY: |
| 91 | type: string |
| 92 | default: "qemu" |
| 93 | PACKER_DEBUG: |
| 94 | type: boolean |
| 95 | default: "false" |
| 96 | PACKER_URL: |
| 97 | type: string |
| 98 | default: "https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip" |
| 99 | PACKER_ZIP: |
| 100 | type: string |
| 101 | default: "packer_0.8.6_linux_amd64.zip" |
| 102 | PACKER_ZIP_MD5: |
| 103 | type: string |
| 104 | default: "4cda1c44cf666fada495dd8e01522e1c" |
| 105 | PACKER_ARGS: |
| 106 | type: string |
| 107 | default: "" |
| 108 | UPLOAD_URL: |
| 109 | type: string |
| 110 | default: "http://jenkins:eyoocaiG3ADireK3Eef8gae1roh5oox0@10.10.100.85:8088/" |
| 111 | SKIP_UPLOAD: |
| 112 | type: boolean |
| 113 | default: "false" |
| 114 | CLEANUP_OLD: |
| 115 | type: boolean |
| 116 | default: "true" |
| 117 | CLEANUP_KEEP: |
| 118 | type: string |
| 119 | default: "3" |
| 120 | GLANCE_UPLOAD: |
| 121 | type: boolean |
| 122 | default: "true" |
| 123 | GLANCE_IMG_TYPES: |
| 124 | type: string |
| 125 | default: "qcow2" |
| 126 | GLANCE_URL: |
| 127 | type: string |
| 128 | default: "https://vpc.tcpisek.cz:5000/v2.0" |
| 129 | GLANCE_CREDENTIALS_ID: |
| 130 | type: string |
| 131 | default: "openstack-qa-credentials" |
| 132 | GLANCE_PROJECT: |
| 133 | type: string |
| 134 | default: "mirantis_mk20_qa" |
| 135 | GLANCE_ARGS: |
| 136 | type: string |
| 137 | default: "" |
| 138 | GLANCE_PUBLIC: |
| 139 | type: boolean |
| 140 | default: "true" |
| 141 | OPENSTACK_API_CLIENT: |
| 142 | type: string |
| 143 | default: "liberty" |