blob: 0a152f1e3b4f69fdc1c2b6a93dcc5fe9105bfc5f [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
chnyda800d26b2017-08-21 16:28:17 +02002 _param:
3 jenkins_contrail_dpdk_kernel_modules_dkms: "${_param:jenkins_gerrit_url}/contrail/contrail-dpdk-kernel-modules-dkms"
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 jenkins:
5 client:
6 job_template:
7 build-opencontrail-dpdk-extra:
8 name: build-opencontrail-dpdk-extra-{{branch_name}}-{{os}}-{{dist}}
9 jobs:
10 - os: ubuntu
11 dist: trusty
12 branch_name: kilo
13 branch_real_name: kilo
chnyda063bf3d2017-07-20 10:57:56 +020014 aptly_repo: ubuntu-trusty-kilo
15 binary: "all"
Filip Pytloun7af94b32017-03-14 18:38:52 +010016 - os: ubuntu
17 dist: trusty
18 branch_name: liberty
19 branch_real_name: liberty-multiqueue
chnyda063bf3d2017-07-20 10:57:56 +020020 aptly_repo: ubuntu-trusty-liberty
21 binary: "all"
Filip Pytloun7af94b32017-03-14 18:38:52 +010022 - os: ubuntu
23 dist: trusty
24 branch_name: mitaka
25 branch_real_name: mitaka
chnyda063bf3d2017-07-20 10:57:56 +020026 aptly_repo: ubuntu-trusty-mitaka
27 binary: "all"
Filip Pytloun7af94b32017-03-14 18:38:52 +010028 - os: ubuntu
29 dist: xenial
30 branch_name: mitaka
31 branch_real_name: mitaka
chnyda063bf3d2017-07-20 10:57:56 +020032 aptly_repo: ubuntu-xenial-mitaka
33 binary: "all"
chnyda1ccf3a42017-05-22 17:41:50 +020034 - os: ubuntu
35 dist: xenial
36 branch_name: newton
37 branch_real_name: newton
chnyda063bf3d2017-07-20 10:57:56 +020038 aptly_repo: ubuntu-xenial-newton
39 binary: "all"
40 - os: ubuntu
41 dist: xenial
42 branch_name: dpdk1702
43 branch_real_name: mitaka_dpdk_17_02
44 aptly_repo: ubuntu-xenial-oc40-dpdk1702
45 binary: "contrail-dpdk-kernel-modules-dkms"
Filip Pytloun7af94b32017-03-14 18:38:52 +010046 template:
47 discard:
48 build:
49 keep_num: 5
50 artifact:
51 keep_num: 5
52 type: workflow-scm
53 concurrent: false
54 scm:
55 type: git
56 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
57 credentials: "gerrit"
58 script: build-extra-dpdk-pipeline.groovy
59 quiet_period: 120
Filip Pytloun7af94b32017-03-14 18:38:52 +010060 param:
61 SOURCE_URL:
62 type: string
63 default: "${_param:jenkins_gerrit_url}/contrail/contrail-dpdk-extra-packages.git"
64 SOURCE_BRANCH:
65 type: string
66 default: "{{branch_real_name}}"
67 SOURCE_CREDENTIALS:
68 type: string
69 default: "gerrit"
70 APTLY_URL:
71 type: string
72 default: "${_param:jenkins_aptly_api_url}"
73 APTLY_REPO:
74 type: string
75 default: "{{os}}-{{dist}}-{{branch_name}}"
76 OS:
77 type: string
78 default: "{{os}}"
79 DIST:
80 type: string
81 default: "{{dist}}"
82 ARCH:
83 type: string
84 default: "amd64"
chnyda135f3872017-04-07 11:32:48 +020085 BINARY_PACKAGES:
86 description: "binary packages to create"
87 type: string
chnyda063bf3d2017-07-20 10:57:56 +020088 default: "{{binary}}"
chnyda800d26b2017-08-21 16:28:17 +020089 build-opencontrail-dpdk-kernel-modules-dkms:
90 name: build-opencontrail-dpdk-kernel-modules-dkms-{{os}}-{{dist}}-{{dpdk}}
91 jobs:
92 - os: ubuntu
93 dist: xenial
94 branch: contrail_dpdk_2_1
95 dpdk: "21"
96 aptly_repo: ubuntu-xenial-mitaka
97 - os: ubuntu
98 dist: xenial
99 dpdk: "1702"
100 branch: contrail_dpdk_17_02
101 aptly_repo: ubuntu-xenial-oc40-dpdk1702
102 template:
103 discard:
104 build:
105 keep_num: 5
106 artifact:
107 keep_num: 5
108 type: workflow-scm
109 concurrent: false
110 quiet_period: 120
111 scm:
112 type: git
113 url: "${_param:jenkins_contrail_dpdk_kernel_modules_dkms}"
114 credentials: "gerrit"
115 branch: "{{branch}}"
chnydac0b3cea2017-08-23 13:54:57 +0200116 trigger:
117 gerrit:
118 project:
119 contrail/contrail-dpdk:
120 branches:
121 - "{{branch}}"
122 message:
123 build_successful: "Build successful"
124 build_unstable: "Build unstable"
125 build_failure: "Build failed"
126 event:
127 ref:
128 - updated
chnyda800d26b2017-08-21 16:28:17 +0200129 param:
130 SOURCE_BRANCH:
131 type: string
132 default: "{{branch}}"
133 SOURCE_CREDENTIALS:
134 type: string
135 default: "gerrit"
136 APTLY_URL:
137 type: string
138 default: "${_param:jenkins_aptly_api_url}"
139 APTLY_REPO:
140 type: string
141 default: "{{aptly_repo}}"
142 OS:
143 type: string
144 default: "{{os}}"
145 DIST:
146 type: string
147 default: "{{dist}}"
148 ARCH:
149 type: string
150 default: "amd64"