blob: eef4740464c34934cfa98733e109a35936d82906 [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-debian-8:
10 type: workflow-scm
11 concurrent: false
Alexander Evseev4589d712018-08-03 12:36:15 +020012 discard:
13 build:
14 keep_num: 5
15 artifact:
16 keep_num: 5
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 scm:
18 type: git
19 url: "${_param:jenkins_packer_pipeline}"
20 credentials: "gerrit"
21 display_name: "[Images] Build Debian 8 image"
22 param:
23 BUILD_OS:
24 type: string
25 default: "debian-8"
26 BUILD_ONLY:
27 type: string
28 default: "qemu"
29 PACKER_DEBUG:
30 type: boolean
31 default: "false"
32 PACKER_URL:
33 type: string
34 default: "https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip"
35 PACKER_ZIP:
36 type: string
37 default: "packer_0.8.6_linux_amd64.zip"
38 PACKER_ZIP_MD5:
39 type: string
40 default: "4cda1c44cf666fada495dd8e01522e1c"
41 PACKER_ARGS:
42 type: string
43 default: ""
44 UPLOAD_URL:
45 type: string
Jakub Josef9a647702017-09-04 18:36:05 +020046 default: "${_param:jenkins_packer_upload_url}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010047 SKIP_UPLOAD:
48 type: boolean
49 default: "false"
50 CLEANUP_OLD:
51 type: boolean
52 default: "true"
53 CLEANUP_KEEP:
54 type: string
55 default: "3"
56 GLANCE_UPLOAD:
57 type: boolean
58 default: "true"
59 GLANCE_IMG_TYPES:
60 type: string
61 default: "qcow2"
62 GLANCE_URL:
63 type: string
Filip Pytloun0e5067b2017-06-28 16:26:04 +020064 default: "https://cloud-cz.bud.mirantis.net:5000"
Filip Pytloun7af94b32017-03-14 18:38:52 +010065 GLANCE_CREDENTIALS_ID:
66 type: string
Filip Pytloun0e5067b2017-06-28 16:26:04 +020067 default: "openstack-devcloud-credentials"
Filip Pytloun7af94b32017-03-14 18:38:52 +010068 GLANCE_PROJECT:
69 type: string
Filip Pytloun0e5067b2017-06-28 16:26:04 +020070 default: "mcp-mk"
Filip Pytloun7af94b32017-03-14 18:38:52 +010071 GLANCE_ARGS:
72 type: string
73 default: ""
74 GLANCE_PUBLIC:
75 type: boolean
76 default: "true"
77 OPENSTACK_API_CLIENT:
78 type: string
Filip Pytloun0e5067b2017-06-28 16:26:04 +020079 default: ""
Jiri Broulik07283c82018-04-11 09:36:33 +020080 IMAGE_NAME:
81 type: string
82 default: debian-8-x64
83 EXTRA_VARIABLES:
84 type: text
85 default: ""