aboutsummaryrefslogtreecommitdiff
path: root/leg-erp-dpdk.yaml
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2017-07-17 16:47:33 +0200
committerRiku Voipio <riku.voipio@linaro.org>2017-07-21 08:17:29 +0000
commit73e45c5869e90f62a585db2f98d162ed272e878c (patch)
tree47a18b52ede3504c1d3178e909c80942399236e4 /leg-erp-dpdk.yaml
parentb8cfd8285f11066c9fb31b2caf6a70bd63fc260f (diff)
downloadconfigs-73e45c5869e90f62a585db2f98d162ed272e878c.tar.gz
leg-erp-dpdk: automate building of dpdk for Debian
Change-Id: I8d76734dfbd236d59e7d817528d71627496eb3c2
Diffstat (limited to 'leg-erp-dpdk.yaml')
-rw-r--r--leg-erp-dpdk.yaml61
1 files changed, 61 insertions, 0 deletions
diff --git a/leg-erp-dpdk.yaml b/leg-erp-dpdk.yaml
new file mode 100644
index 000000000..51716d643
--- /dev/null
+++ b/leg-erp-dpdk.yaml
@@ -0,0 +1,61 @@
+- job:
+ name: leg-erp-dpdk
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 7
+ num-to-keep: 7
+ disabled: false
+ node: docker-jessie-arm64
+ display-name: 'LEG ERP DPDK Debian package'
+ scm:
+ - git:
+ url: https://gerrit.fd.io/r/p/deb_dpdk.git
+ refspec: +refs/heads/17.05.x:refs/remotes/origin/17.05.x
+ name: origin
+ branches:
+ - refs/heads/17.05.x
+ skip-tag: true
+ clean: true
+ disable-submodules: true
+ wipe-workspace: false
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ set -e
+
+ TARBALL=dpdk_17.05.1.orig.tar.xz
+ pristine-tar checkout $TARBALL
+ mv $TARBALL ..
+
+ debuild --no-lintian -uc -us -sa -S
+
+ echo "source=$BUILD_URL/artifact/`find . -name *dsc`" >build-params
+ echo "repo=erp-17.08-staging" >>build-params
+ echo "appendversion=false" >>build-params
+
+ publishers:
+ - archive:
+ artifacts: '*.changes, *.dsc, *.gz, *.bz2, *.xz'
+ latest-only: true
+ - trigger-parameterized-builds:
+ - project: build-package
+ property-file: build-params
+ condition: SUCCESS
+ - email:
+ recipients: 'marcin.juszkiewicz@linaro.org'