- job:
name: odp-diff-abi-publish
project-type: matrix
defaults: global
description: |
* Diff ODP ABI between different implementations and the released version
* (i.e., ODPs master branch). The diff is the ABI differences.
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-jessie-amd64
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/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}'
source: 'check-odp/publishing/**'
command: |
cd /srv/docs.opendataplane.org
mkdir -p snapshots/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}
cp -a incoming/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}/* snapshots/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}
rm -rf $(pwd)/snapshots/odp-diff-abi-publish/${platform_type}/latest
ln -sf $(pwd)/snapshots/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER} snapshots/odp-diff-abi-publish/${platform_type}/latest
rm -rf incoming/odp-diff-abi-publish/${platform_type}/${BUILD_NUMBER}
timeout: 120000
remove-prefix: 'check-odp/publishing'
always-publish-from-master: true
publishers:
- email:
recipients: 'lng-ci@lists.linaro.org'