blob: 504702cb69462d545c5a17b8994bd3d665307f50 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytlouna83bbee2017-03-15 18:13:59 +01002 _param:
3 jenkins_packer_pipeline: "${_param:jenkins_gerrit_url}/mk/packer-templates"
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 jenkins:
5 client:
6 job:
7 build-image-ubuntu-14-04:
8 type: workflow-scm
9 concurrent: false
10 discard:
11 build:
12 keep_num: 5
13 keep_days: 5
14 artifact:
15 keep_num: 6
16 keep_days: 6
17 scm:
18 type: git
19 url: "${_param:jenkins_packer_pipeline}"
20 credentials: "gerrit"
21 display_name: "[Images] Build Ubuntu 14.04 image"
22 param:
23 BUILD_OS:
24 type: string
25 default: "ubuntu-14.04"
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
46 default: "http://jenkins:eyoocaiG3ADireK3Eef8gae1roh5oox0@10.10.100.85:8088/"
47 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
64 default: "https://vpc.tcpisek.cz:5000/v2.0"
65 GLANCE_CREDENTIALS_ID:
66 type: string
67 default: "openstack-qa-credentials"
68 GLANCE_PROJECT:
69 type: string
70 default: "mirantis_mk20_qa"
71 GLANCE_ARGS:
72 type: string
73 default: ""
74 GLANCE_PUBLIC:
75 type: boolean
76 default: "true"
77 OPENSTACK_API_CLIENT:
78 type: string
79 default: "liberty"
80 build-image-ubuntu-16-04:
81 type: workflow-scm
82 concurrent: false
83 scm:
84 type: git
85 url: "${_param:jenkins_packer_pipeline}"
86 credentials: "gerrit"
87 display_name: "[Images] Build Ubuntu 16.04 image"
88 param:
89 BUILD_OS:
90 type: string
91 default: "ubuntu-16.04"
92 BUILD_ONLY:
93 type: string
94 default: "qemu"
95 PACKER_DEBUG:
96 type: boolean
97 default: "false"
98 PACKER_URL:
99 type: string
100 default: "https://releases.hashicorp.com/packer/0.8.6/packer_0.8.6_linux_amd64.zip"
101 PACKER_ZIP:
102 type: string
103 default: "packer_0.8.6_linux_amd64.zip"
104 PACKER_ZIP_MD5:
105 type: string
106 default: "4cda1c44cf666fada495dd8e01522e1c"
107 PACKER_ARGS:
108 type: string
109 default: ""
110 UPLOAD_URL:
111 type: string
112 default: "http://jenkins:eyoocaiG3ADireK3Eef8gae1roh5oox0@10.10.100.85:8088/"
113 SKIP_UPLOAD:
114 type: boolean
115 default: "false"
116 CLEANUP_OLD:
117 type: boolean
118 default: "true"
119 CLEANUP_KEEP:
120 type: string
121 default: "3"
122 GLANCE_UPLOAD:
123 type: boolean
124 default: "true"
125 GLANCE_IMG_TYPES:
126 type: string
127 default: "qcow2"
128 GLANCE_URL:
129 type: string
130 default: "https://vpc.tcpisek.cz:5000/v2.0"
131 GLANCE_CREDENTIALS_ID:
132 type: string
133 default: "openstack-qa-credentials"
134 GLANCE_PROJECT:
135 type: string
136 default: "mirantis_mk20_qa"
137 GLANCE_ARGS:
138 type: string
139 default: ""
140 GLANCE_PUBLIC:
141 type: boolean
142 default: "true"
143 OPENSTACK_API_CLIENT:
144 type: string
145 default: "liberty"