aboutsummaryrefslogtreecommitdiff
path: root/build-dpdk-deb.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-07-05 12:43:02 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-07-08 07:09:25 +0200
commitc074844f851ab7604bcef6e4ecaca7a5c606ef3a (patch)
treec5ba089b2b4953811bf9ce86dff29a013a5eb52a /build-dpdk-deb.yaml
parent243bcfcfdfe79487928cad4c2db15ffc1b7f5a1d (diff)
add DPDK deb package build
We need to build this 3party package until upstream supports it. ODP-DPDK depends on it. Change-Id: I3acd90cf8c84faa758953813b6db7a0b10bb3d79 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'build-dpdk-deb.yaml')
-rw-r--r--build-dpdk-deb.yaml67
1 files changed, 67 insertions, 0 deletions
diff --git a/build-dpdk-deb.yaml b/build-dpdk-deb.yaml
new file mode 100644
index 0000000000..0a4a624b14
--- /dev/null
+++ b/build-dpdk-deb.yaml
@@ -0,0 +1,67 @@
+- job:
+ name: build-dpdk-deb
+ project-type: freestyle
+ defaults: global
+ properties:
+ - build-discarder:
+ num-to-keep: 30
+ days-to-keep: 30
+ artifact-num-to-keep: 1
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ disabled: false
+ node: docker-jessie-arm64
+ display-name: 'Build DPDK deb packages for opendataplane.org'
+ scm:
+ - git:
+ url: https://git.launchpad.net/~ubuntu-server/dpdk
+ refspec: +refs/heads/ubuntu-yakkety-dpdk16.04:refs/remotes/origin/ubuntu-yakkety-dpdk16.04
+ name: origin
+ branches:
+ - refs/heads/ubuntu-yakkety-dpdk16.04
+ basedir: dpdk
+ skip-tag: true
+ shallow-clone: false
+ wipe-workspace: false
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ - timeout:
+ timeout: 20
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ set -e
+
+ sudo apt-get update
+ sudo apt-get install -y git-buildpackage debhelper dh-python dh-systemd dkms doxygen graphviz inkscape libcap-dev libpcap-dev libxen-dev libxenstore3.0 python python-sphinx texlive-fonts-recommended texlive-latex-extra
+
+ cd dpdk
+ git remote add upstream http://dpdk.org/git/dpdk
+ git remote update
+ gbp buildpackage --git-upstream-tag='v%(version)s' --git-ignore-branch --git-builder="debuild -i\.git -I.git -S -uc -us"
+
+ cat > ${WORKSPACE}/dpdk-params <<EOF
+ source=${BUILD_URL}/artifact/$(echo *.dsc)
+ repo=dpdk
+ EOF
+
+ mv *.dsc *.gz *.xz ${WORKSPACE}/
+ publishers:
+ - archive:
+ artifacts: '*.dsc, *.gz, *.xz'
+ - trigger-parameterized-builds:
+ - project: build-all-packages
+ property-file: dpdk-params
+ condition: SUCCESS
+ - email:
+ recipients: 'anders.roxell@linaro.org fathi.boudra@linaro.org'