blob: d478ccc501dce93cb63db25f2fb69703958bd03a [file] [log] [blame]
Jakub Josef9ab31442017-04-05 14:02:59 +02001classes:
2 - system.jenkins.client.job.image
Filip Pytloun7af94b32017-03-14 18:38:52 +01003parameters:
Filip Pytlouna83bbee2017-03-15 18:13:59 +01004 _param:
5 jenkins_packer_pipeline: "${_param:jenkins_gerrit_url}/mk/packer-templates"
Filip Pytloun7af94b32017-03-14 18:38:52 +01006 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 Josef9a647702017-09-04 18:36:05 +020041 default: "${_param:jenkins_packer_upload_url}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010042 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 Pytloun0e5067b2017-06-28 16:26:04 +020059 default: "https://cloud-cz.bud.mirantis.net:5000"
Filip Pytloun7af94b32017-03-14 18:38:52 +010060 GLANCE_CREDENTIALS_ID:
61 type: string
Filip Pytloun0e5067b2017-06-28 16:26:04 +020062 default: "openstack-devcloud-credentials"
Filip Pytloun7af94b32017-03-14 18:38:52 +010063 GLANCE_PROJECT:
64 type: string
Filip Pytloun0e5067b2017-06-28 16:26:04 +020065 default: "mcp-mk"
Filip Pytloun7af94b32017-03-14 18:38:52 +010066 GLANCE_ARGS:
67 type: string
68 default: ""
69 GLANCE_PUBLIC:
70 type: boolean
71 default: "true"
72 OPENSTACK_API_CLIENT:
73 type: string
Filip Pytloun0e5067b2017-06-28 16:26:04 +020074 default: ""