blob: 2d4e4d81e7a33dc82ecea335dcf1960db482258a [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"
Jakub Josef7938b532017-12-12 18:02:03 +010057 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010058 credentials: "gerrit"
59 script: build-extra-dpdk-pipeline.groovy
60 quiet_period: 120
Filip Pytloun7af94b32017-03-14 18:38:52 +010061 param:
62 SOURCE_URL:
63 type: string
64 default: "${_param:jenkins_gerrit_url}/contrail/contrail-dpdk-extra-packages.git"
65 SOURCE_BRANCH:
66 type: string
67 default: "{{branch_real_name}}"
68 SOURCE_CREDENTIALS:
69 type: string
70 default: "gerrit"
71 APTLY_URL:
72 type: string
73 default: "${_param:jenkins_aptly_api_url}"
74 APTLY_REPO:
75 type: string
76 default: "{{os}}-{{dist}}-{{branch_name}}"
77 OS:
78 type: string
79 default: "{{os}}"
80 DIST:
81 type: string
82 default: "{{dist}}"
83 ARCH:
84 type: string
85 default: "amd64"
chnyda135f3872017-04-07 11:32:48 +020086 BINARY_PACKAGES:
87 description: "binary packages to create"
88 type: string
chnyda063bf3d2017-07-20 10:57:56 +020089 default: "{{binary}}"
chnyda800d26b2017-08-21 16:28:17 +020090 build-opencontrail-dpdk-kernel-modules-dkms:
91 name: build-opencontrail-dpdk-kernel-modules-dkms-{{os}}-{{dist}}-{{dpdk}}
92 jobs:
93 - os: ubuntu
94 dist: xenial
95 branch: contrail_dpdk_2_1
96 dpdk: "21"
97 aptly_repo: ubuntu-xenial-mitaka
98 - os: ubuntu
99 dist: xenial
100 dpdk: "1702"
101 branch: contrail_dpdk_17_02
102 aptly_repo: ubuntu-xenial-oc40-dpdk1702
103 template:
104 discard:
105 build:
106 keep_num: 5
107 artifact:
108 keep_num: 5
109 type: workflow-scm
110 concurrent: false
111 quiet_period: 120
112 scm:
113 type: git
114 url: "${_param:jenkins_contrail_dpdk_kernel_modules_dkms}"
115 credentials: "gerrit"
116 branch: "{{branch}}"
chnydac0b3cea2017-08-23 13:54:57 +0200117 trigger:
118 gerrit:
119 project:
120 contrail/contrail-dpdk:
121 branches:
122 - "{{branch}}"
123 message:
124 build_successful: "Build successful"
125 build_unstable: "Build unstable"
126 build_failure: "Build failed"
127 event:
128 ref:
129 - updated
chnyda800d26b2017-08-21 16:28:17 +0200130 param:
131 SOURCE_BRANCH:
132 type: string
133 default: "{{branch}}"
134 SOURCE_CREDENTIALS:
135 type: string
136 default: "gerrit"
137 APTLY_URL:
138 type: string
139 default: "${_param:jenkins_aptly_api_url}"
140 APTLY_REPO:
141 type: string
142 default: "{{aptly_repo}}"
143 OS:
144 type: string
145 default: "{{os}}"
146 DIST:
147 type: string
148 default: "{{dist}}"
149 ARCH:
150 type: string
151 default: "amd64"