aboutsummaryrefslogtreecommitdiff
path: root/mbl-openembedded-pyro.yaml
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2017-09-29 14:40:15 +0100
committerFathi Boudra <fathi.boudra@linaro.org>2017-10-03 17:57:29 +0000
commit5920d34b91b17f12e7f6bb6cb97d32a5d3f6391e (patch)
tree36c73bb1e4f2efca7c7b1863eb8cbbceeac5c819 /mbl-openembedded-pyro.yaml
parentfacfcf0cc50802490cbec8e0a81ef8b9da38f447 (diff)
mbl-openembedded: move from morty to pyro
Move MBL OpenEmbedded stable builds from morty to pyro. Change-Id: I5da0035d2deba15526e8bf508b63cbda0fd79781 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'mbl-openembedded-pyro.yaml')
-rw-r--r--mbl-openembedded-pyro.yaml96
1 files changed, 96 insertions, 0 deletions
diff --git a/mbl-openembedded-pyro.yaml b/mbl-openembedded-pyro.yaml
new file mode 100644
index 0000000000..516eb5ce98
--- /dev/null
+++ b/mbl-openembedded-pyro.yaml
@@ -0,0 +1,96 @@
+- job:
+ name: mbl-openembedded-pyro
+ project-type: matrix
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ artifactNumToKeep: 1
+ properties:
+ - authorization:
+ linaro:
+ - job-read
+ mbl-ci-users:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ parameters:
+ - string:
+ name: IMAGES
+ default: 'rpb-console-image'
+ - string:
+ name: BASE_URL
+ default: 'https://snapshots.linaro.org/'
+ - string:
+ name: PUB_DEST
+ default: 'openembedded/mbl/${MANIFEST_BRANCH}/${MACHINE}/${BUILD_NUMBER}/${DISTRO}'
+ disabled: false
+ node: master
+ display-name: 'MBL - OpenEmbedded (pyro)'
+ axes:
+ - axis:
+ type: user-defined
+ name: MANIFEST_BRANCH
+ values:
+ - 'linaro-pyro'
+ - 'linaro-pyro-pinned'
+ - axis:
+ type: user-defined
+ name: MACHINE
+ values:
+ - 'imx7s-warp'
+ - 'raspberrypi3'
+ - axis:
+ type: user-defined
+ name: DISTRO
+ values:
+ - rpb
+ - axis:
+ type: slave
+ name: label
+ values:
+ - docker-jessie-amd64
+ execution-strategy:
+ sequential: false
+ wrappers:
+ - timestamps
+ - ssh-agent-credentials:
+ users:
+ - 'MBL'
+ builders:
+ - shell:
+ !include-raw: mbl-openembedded/builders.sh
+ - inject:
+ properties-file: post_build_lava_parameters
+ - linaro-publish-token
+ - shell: |
+ #!/bin/bash
+
+ cat > ${WORKSPACE}/BUILD-INFO.txt << EOF
+ Format-Version: 0.5
+
+ Files-Pattern: *
+ License-Type: protected
+ Auth-Groups: mbl-ci-users
+ EOF
+
+ # Publish
+ test -d ${HOME}/bin || mkdir ${HOME}/bin
+ wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
+ time python ${HOME}/bin/linaro-cp.py \
+ --server ${PUBLISH_SERVER} \
+ --build-info ${WORKSPACE}/BUILD-INFO.txt \
+ ${DEPLOY_DIR_IMAGE}/ ${PUB_DEST}
+ time python ${HOME}/bin/linaro-cp.py \
+ --server ${PUBLISH_SERVER} \
+ --make-link \
+ $(dirname ${PUB_DEST})
+ publishers:
+# We can only archive files that are located in the workspace
+# - archive:
+# artifacts: 'build/tmp-*glibc/deploy/images/${MACHINE}/*'
+ - email-ext:
+ recipients: 'fathi.boudra@linaro.org, ryan.harkin@linaro.org, paul.liu@linaro.org'
+ always: true
+ matrix-trigger: only-parent