aboutsummaryrefslogtreecommitdiff
path: root/odp-diff-abi-publish.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-04-25 21:48:42 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2016-04-26 23:58:10 +0300
commitf3371db3c540c6a300761e1d2aa6c6659145468b (patch)
tree484c3ac305eee99204bed159405d686a202185b1 /odp-diff-abi-publish.yaml
parent27e1ede0ec7da78bc1fb4322bdb19d0ebe82e3f5 (diff)
downloadconfigs-f3371db3c540c6a300761e1d2aa6c6659145468b.tar.gz
odp-diff-abi-publish: add new build job
Change-Id: Ic655297391a2edf13d6fbc018a621dd1872fb986 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-diff-abi-publish.yaml')
-rw-r--r--odp-diff-abi-publish.yaml91
1 files changed, 91 insertions, 0 deletions
diff --git a/odp-diff-abi-publish.yaml b/odp-diff-abi-publish.yaml
new file mode 100644
index 000000000..b9b1612c5
--- /dev/null
+++ b/odp-diff-abi-publish.yaml
@@ -0,0 +1,91 @@
+- job:
+ name: odp-diff-abi-publish
+ project-type: matrix
+ defaults: global
+ description: |
+ * Diff ODP ABI between different implementations and the released version<br>
+ * (i.e., ODPs master branch). The diff is the ABI differences.<br>
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
+ disabled: false
+ node: master
+ child-workspace: .
+ display-name: 'ODP diff ABI publish'
+ triggers:
+ - timed: '@daily'
+ axes:
+ - axis:
+ type: user-defined
+ name: platform_type
+ values:
+ - generic
+ - dpdk
+ - axis:
+ type: user-defined
+ name: COMPARE_BRANCH
+ values:
+ - master
+ - next
+ - api-next
+ - axis:
+ type: slave
+ name: label
+ values:
+ - docker-utopic
+ execution-strategy:
+ combination-filter: |
+ !(platform_type=="dpdk" && (COMPARE_BRANCH=="api-next" || COMPARE_BRANCH=="next")) || !(platform_type=="generic" && COMPARE_BRANCH=="master")
+ wrappers:
+ - timestamps
+ - matrix-tie-parent:
+ node: master
+ - timeout:
+ timeout: 60
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ set -ex
+
+ rm -rf check-odp
+ git clone --depth 1 git://git.linaro.org/lng/check-odp.git
+
+ ./check-odp/pre-install.sh
+
+ case "${platform_type}" in
+ dpdk)
+ mkdir -p ${HOME}/bin
+ cp check-odp/helper/ci-uname ${HOME}/bin/uname
+ export PATH=${HOME}/bin:${PATH}
+ export COMPARE_URL=git://git.linaro.org/lng/odp-dpdk.git
+ ;;
+ esac
+
+ bash -x ${WORKSPACE}/check-odp/diff-abi.sh |tee
+ - ssh:
+ site: 'docs.opendataplane.org'
+ target: 'incoming/${JOB_NAME}/${BUILD_NUMBER}'
+ source: 'check-odp/publishing/**'
+ command: |
+ cd /srv/docs.opendataplane.org
+ rm -rf diff-abi
+ mkdir snapshots
+ cp -a incoming/${JOB_NAME}/${BUILD_NUMBER}/diff-abi snapshots/
+ rm -rf incoming/${JOB_NAME}/${BUILD_NUMBER}
+ timeout: 120000
+ remove-prefix: 'check-odp/publishing'
+ always-publish-from-master: true
+ publishers:
+ - email:
+ recipients: 'lng-ci@lists.linaro.org'