aboutsummaryrefslogtreecommitdiff
path: root/openembedded-armv8-pre-built-images-lt-vexpress64.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-02-23 19:03:45 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-02-23 19:03:45 +0200
commit2209c2a60835ec2e07dec732b97028634ba1f3c9 (patch)
tree7e062b32f621ed0d2fb3d90b615dead3eb9a0da1 /openembedded-armv8-pre-built-images-lt-vexpress64.yaml
parent357dcf6b582437c7b771467f3d8fc599020c8d96 (diff)
downloadconfigs-2209c2a60835ec2e07dec732b97028634ba1f3c9.tar.gz
openembedded-*-pre-built-images*: add job configurations for OE pre-built images
Change-Id: I2947ba1698bfa556483342d2fce80c086780fecd Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded-armv8-pre-built-images-lt-vexpress64.yaml')
-rw-r--r--openembedded-armv8-pre-built-images-lt-vexpress64.yaml104
1 files changed, 104 insertions, 0 deletions
diff --git a/openembedded-armv8-pre-built-images-lt-vexpress64.yaml b/openembedded-armv8-pre-built-images-lt-vexpress64.yaml
new file mode 100644
index 000000000..924f863c7
--- /dev/null
+++ b/openembedded-armv8-pre-built-images-lt-vexpress64.yaml
@@ -0,0 +1,104 @@
+- job:
+ name: openembedded-armv8-pre-built-images-lt-vexpress64
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ parameters:
+ - password:
+ name: LAVA_USER
+ default: ${LAVA_USER}
+ - password:
+ name: LAVA_TOKEN
+ default: ${LAVA_TOKEN}
+ disabled: false
+ node: precise_hwpack_cloud
+ child-workspace: .
+ display-name: 'OpenEmbedded pre-built images (ARMv8-A - LT)'
+ wrappers:
+ - timestamps
+ - matrix-tie-parent:
+ node: precise_hwpack_cloud
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ set -x
+
+ rm -rf daily-prebuilt-images
+ git clone git://git.linaro.org/ci/daily-prebuilt-images.git
+
+ export BOOTLOADER="uefi"
+ DELETEDIR=1 ./daily-prebuilt-images/build-images -w lt-vexpress64 -b minimal-armv8-gcc-4.9 -p openembedded -f
+ REUSE=1 ./daily-prebuilt-images/build-images -w lt-vexpress64 -b lamp-armv8-gcc-4.9 -p openembedded -f
+ - ssh:
+ site: 'snapshots.linaro.org'
+ target: '${JOB_NAME}/${BUILD_NUMBER}/openembedded'
+ source: 'out/pre-built/**'
+ timeout: 120000
+ remove-prefix: 'out'
+ always-publish-from-master: true
+ - ssh:
+ site: 'snapshots.linaro.org file-move'
+ target: ''
+ source: ''
+ command: 'reshuffle-files -t prebuilt -j ${JOB_NAME} -n ${BUILD_NUMBER}'
+ timeout: 120000
+ always-publish-from-master: true
+ - shell: |
+ #!/bin/bash
+
+ set -x
+
+ cat << EOF > ${WORKSPACE}/deploy_image_parameters.json
+ {
+ "bootloadertype": "uefi"
+ }
+ EOF
+
+ cat << EOF > ${WORKSPACE}/metadata.json
+ {
+ "hwpack.type": "lt-vexpress64"
+ }
+ EOF
+ - shell: |
+ #!/bin/bash
+
+ set -x
+
+ export DEVICE_TYPE=juno
+ export HWPACK_JOB_NAME=${JOB_NAME}
+ export BUNDLE_STREAM_NAME="/private/team/wg/wg-private/"
+
+ export ROOTFS_TYPE=lamp-armv8-gcc-4.9
+ export HWPACK_FILE_NAME=`find out/pre-built -type f -name '*_lamp-armv8-gcc-4.9_*.img.gz' |xargs basename`
+ export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2`
+ export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz}
+
+ cat << EOF > ${WORKSPACE}/post_build_lava_parameters
+ DEVICE_TYPE=${DEVICE_TYPE}
+ BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
+ HWPACK_JOB_NAME=${HWPACK_JOB_NAME}
+ HWPACK_FILE_NAME=${HWPACK_FILE_NAME}
+ HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER}
+ LAVA_TEST_PLAN='busybox device-tree ethernet kernel-version ltp pwrmgmt toolchain libhugetlbfs pointer-tagging-tests'
+ IMAGE_URL=http://snapshots.linaro.org/openembedded/pre-built/lt-vexpress64/${HWPACK_BUILD_NUMBER}/${HWPACK_FILE_NAME}
+ METADATA_URL=${JOB_URL}/ws/metadata.json
+ EOF
+ - trigger-builds:
+ - project: 'post-build-lava'
+ property-file: post_build_lava_parameters
+ block: true
+ publishers:
+ - archive:
+ artifacts: '*.json'
+ latest-only: true
+ - email:
+ recipients: 'fathi.boudra@linaro.org koen.kooi@linaro.org riku.voipio@linaro.org trevor.woerner@linaro.org'