diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2015-11-17 15:34:41 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-11-17 15:34:41 +0200 |
commit | b61a5677c238c18b1296b2047463a8281685569b (patch) | |
tree | 2ed17c76bf9c9c4d894b9274cc8668df57bfe891 /96boards-hikey.yaml | |
parent | d44a74c783ace05ef4e2bbf54d764fad696bcf1d (diff) |
96boards-hikey: submit build to lava
Change-Id: I7a87d6029cb12a3007990fdbe8c7fe3a99a3e471
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to '96boards-hikey.yaml')
-rw-r--r-- | 96boards-hikey.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/96boards-hikey.yaml b/96boards-hikey.yaml index 76ba1a061d..49fc3e4707 100644 --- a/96boards-hikey.yaml +++ b/96boards-hikey.yaml @@ -13,6 +13,15 @@ - job-workspace parameters: - string: + name: BUNDLE_STREAM_NAME + default: '/public/team/hisilicon/hikey/' + - string: + name: DEVICE_TYPE + default: 'hi6220-hikey' + - string: + name: LAVA_SERVER + default: 'validation.linaro.org/RPC2/' + - string: name: ROOTFS default: 'alip developer' disabled: false @@ -320,6 +329,27 @@ --build-info out/BUILD-INFO.txt \ --link-latest \ out snapshots/hikey/linaro/debian/${BUILD_NUMBER} + - shell: | + VERSION=$(date +%Y%m%d)-${BUILD_NUMBER} + + export BOOT_URL=https://builds.96boards.org/snapshots/hikey/linaro/debian/${BUILD_NUMBER}/boot-fat.uefi.img.gz + export SYSTEM_URL=https://builds.96boards.org/snapshots/hikey/linaro/debian/${BUILD_NUMBER}/hikey-jessie_alip_${VERSION}.emmc.img.gz + + rm -rf configs lci-build-tools + git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git + git clone --depth 1 http://git.linaro.org/ci/job/configs.git + ./lci-build-tools/yaml-to-json.py configs/${JOB_NAME}/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json + + cat << EOF > post_build_lava_parameters + DEVICE_TYPE=${DEVICE_TYPE} + BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} + CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json + LAVA_SERVER=${LAVA_SERVER} + EOF + - trigger-builds: + - project: 'post-build-lava' + property-file: post_build_lava_parameters + block: true publishers: - email: recipients: 'fathi.boudra@linaro.org' |