summaryrefslogtreecommitdiffstats
path: root/templates/machine/dra7xx-evm/test/testjob_short.yaml
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-05-01 14:20:44 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-05-06 10:04:45 +0000
commita1c76d665ae055d209bc47b71dfb3e6c2cd1bf73 (patch)
treeba586c3efbf2b0a08863ea4a5671970c315143ce /templates/machine/dra7xx-evm/test/testjob_short.yaml
parentea0a1f935acfb2113aeb476f82c1cc7979684f5c (diff)
Enable lava test-run on vayu board
This adds the necessary templates to run the CI boot tests also on the TI dra7xx-evm 'vayu'. Change-Id: I9e6303c30bd68db91f5b36b2984f6ef91fa4297d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9295 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Diffstat (limited to 'templates/machine/dra7xx-evm/test/testjob_short.yaml')
-rw-r--r--templates/machine/dra7xx-evm/test/testjob_short.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/templates/machine/dra7xx-evm/test/testjob_short.yaml b/templates/machine/dra7xx-evm/test/testjob_short.yaml
new file mode 100644
index 000000000..304cc8a6b
--- /dev/null
+++ b/templates/machine/dra7xx-evm/test/testjob_short.yaml
@@ -0,0 +1,51 @@
+# Your first LAVA JOB definition for a vayu board
+device_type: @REPLACE_DEVICE_TYPE@
+job_name: AGL-short-smoke
+
+protocols:
+ lava-xnbd:
+ port: auto
+
+timeouts:
+ job:
+ minutes: 30
+ action:
+ minutes: 15
+ connection:
+ minutes: 5
+ bootloader-commands:
+ minutes: 4
+priority: medium
+visibility: public
+
+# ACTION_BLOCK
+actions:
+- deploy:
+ timeout:
+ minutes: 15
+ to: nbd
+ dtb:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_DTB@'
+ kernel:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_KERNEL@'
+ initrd:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_INITRAMFS@'
+ allow_modify: false
+ nbdroot:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_NBDROOT@'
+ compression: @REPLACE_NBDROOT_COMPRESSION@
+ os: debian
+ failure_retry: 2
+
+# BOOT_BLOCK
+- boot:
+ method: @REPLACE_BOOT_METHOD@
+ commands: nbd
+ type: @REPLACE_BOOT_TYPE@
+ prompts: ["root@@REPLACE_MACHINE@:~"]
+ auto_login:
+ login_prompt: "login:"
+ username: root
+ failure_retry: 2
+
+