aboutsummaryrefslogtreecommitdiff
path: root/coresight/lava-job-definitions/vexpress-tc2
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2014-12-11 19:28:34 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2014-12-11 19:28:34 +0200
commitcd607df5dd504a9fe9397c861b93c674f4be14fb (patch)
treea60aed576afb5d2e3e2fae0c1d415150d0587076 /coresight/lava-job-definitions/vexpress-tc2
parentff8c13210af35838840177eee6bb07f11ece9848 (diff)
coresight: submit build job to LAVA
Change-Id: I11f8e55de8a57a073d44c86de85908ee7b7f5d6a Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'coresight/lava-job-definitions/vexpress-tc2')
-rw-r--r--coresight/lava-job-definitions/vexpress-tc2/template.yaml57
1 files changed, 57 insertions, 0 deletions
diff --git a/coresight/lava-job-definitions/vexpress-tc2/template.yaml b/coresight/lava-job-definitions/vexpress-tc2/template.yaml
new file mode 100644
index 0000000000..f1e6967de0
--- /dev/null
+++ b/coresight/lava-job-definitions/vexpress-tc2/template.yaml
@@ -0,0 +1,57 @@
+actions:
+ - command: deploy_linaro_image
+ parameters:
+ hwpack: '${HWPACK_BUILD_URL}'
+ rootfs: '${ROOTFS_BUILD_URL}'
+ metadata:
+ distribution: 'openembedded'
+ hwpack.build: '${BUILD_NUMBER}'
+ hwpack.type: '${hwpack_type}'
+ rootfs.build: '${ROOTFS_BUILD_NUMBER}'
+ rootfs.type: 'minimal-armv7a-gcc-4.9'
+ git URL: '${GIT_URL}'
+ git branch: '${GIT_BRANCH}'
+ git commit: '${GIT_COMMIT}'
+ - command: boot_linaro_image
+ parameters:
+ boot_cmds:
+ - 'sendline a'
+ - 'expect Choice:'
+ - 'sendline 3'
+ - 'expect Delete entry:'
+ - 'sendline 1'
+ - 'expect Choice:'
+ - 'sendline 1'
+ - 'expect Select the Boot Device:'
+ - 'sendline 4'
+ - 'expect File path of the EFI Application or the kernel:'
+ - 'sendline uImage'
+ - 'expect Boot Type: [a] ATAGS, [g] Global FDT or [l] Local FDT? [a/g/l]'
+ - 'sendline l'
+ - 'expect Add an initrd: [y/n]'
+ - 'sendline y'
+ - 'expect File path of the initrd'
+ - 'sendline uInitrd'
+ - 'expect Arguments to pass to the binary:'
+ - 'sendline console=tty0 console=ttyAMA0,38400n8 root=/dev/sda1 rootwait ro'
+ - 'expect File path of the local FDT:'
+ - 'sendline v2p-ca15-tc2.dtb'
+ - 'expect Description for this new Entry:'
+ - 'sendline LAVA Test Image'
+ - 'expect Choice:'
+ - 'sendline 5'
+ - 'expect Start:'
+ - 'sendline 1'
+ - command: lava_test_shell
+ parameters:
+ testdef_repos:
+ - git-repo: 'git://git.linaro.org/people/vijay.dandiga/test-definitions.git'
+ testdef: 'openembedded/coresight-test-new.yaml'
+ timeout: 1800
+ - command: submit_results
+ parameters:
+ server: 'http://${LAVA_SERVER}'
+ stream: '${BUNDLE_STREAM_NAME}'
+device_type: '${DEVICE_TYPE}'
+job_name: '${BUILD_URL}'
+timeout: 3600