aboutsummaryrefslogtreecommitdiff
path: root/openembedded-armv8-luvos-next-netboot.yaml
diff options
context:
space:
mode:
authorNaresh Bhat <naresh.bhat@linaro.org>2018-04-04 17:49:30 +0530
committerFathi Boudra <fathi.boudra@linaro.org>2018-04-05 15:43:14 +0300
commitff333c7aa3b7f8df38f5233a8f2df69a99abbe7a (patch)
tree0a36e5824eb0cb6d84e93ef6933fd4fabae1743d /openembedded-armv8-luvos-next-netboot.yaml
parent81b7079a95e43290042a16c992c7a0747734e385 (diff)
openembedded-armv8-luvos: build luv netboot image
Build luv netboot image using next branch Change-Id: I360ef12e9a0d23ba129238d69fd157207728f487 Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded-armv8-luvos-next-netboot.yaml')
-rw-r--r--openembedded-armv8-luvos-next-netboot.yaml77
1 files changed, 77 insertions, 0 deletions
diff --git a/openembedded-armv8-luvos-next-netboot.yaml b/openembedded-armv8-luvos-next-netboot.yaml
new file mode 100644
index 0000000000..2ccacb08a3
--- /dev/null
+++ b/openembedded-armv8-luvos-next-netboot.yaml
@@ -0,0 +1,77 @@
+- job:
+ name: openembedded-armv8-luv-netboot-next
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ parameters:
+ - string:
+ name: MACHINE
+ default: 'qemuarm64'
+ - string:
+ name: DISTRO
+ default: 'luv-netboot'
+ - string:
+ name: BRANCH
+ default: 'next'
+ - string:
+ name: IMAGE
+ default: 'luv-netboot-image'
+ disabled: false
+ node: build
+ display-name: 'Linux UEFI Validation Operating System Netboot (luvOS) for ARMv8 - next'
+ scm:
+ - git:
+ url: https://github.com/01org/luv-yocto.git
+ refspec: +refs/heads/${BRANCH}:refs/remotes/origin/${BRANCH}
+ name: origin
+ branches:
+ - refs/heads/${BRANCH}
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: false
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - linaro-publish-token
+ - shell:
+ !include-raw: openembedded-armv8-luvos/builders.sh
+ - shell: |
+ #!/bin/bash -e
+
+ rm -rf configs
+ git clone --depth 1 http://git.linaro.org/ci/job/configs.git
+
+ sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
+ -e "s|\${BUILD_URL}|${BUILD_URL}|" \
+ -e "s|\${BRANCH}|${BRANCH}|" \
+ -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
+ < configs/openembedded-armv8-luvos/lava-job-definitions/qemu/template.yaml \
+ > custom_lava_job_definition.yaml
+
+ cat << EOF > post_build_lava_parameters
+ DEVICE_TYPE=qemu
+ CUSTOM_YAML_URL=${JOB_URL}/ws/custom_lava_job_definition.yaml
+ LAVA_SERVER=validation.linaro.org/RPC2/
+ EOF
+ - trigger-builds:
+ - project: 'post-build-lava'
+ property-file: post_build_lava_parameters
+ block: true
+ publishers:
+ - email:
+ recipients: 'fathi.boudra@linaro.org naresh.bhat@linaro.org milosz.wasilewski@linaro.org'