summaryrefslogtreecommitdiffstats
path: root/templates/machine/m3ulcb-nogfx/test/testjob_short.yaml
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2017-06-26 22:16:19 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-30 19:31:19 +0000
commit99e6be9ab76013eea3f78882a490e6548325f03f (patch)
tree5ea49b11c64a2947f08989683d51a3dd9e602dcf /templates/machine/m3ulcb-nogfx/test/testjob_short.yaml
parentc42f34f7889c96c8cb5091bce269aa31bea74574 (diff)
m3ulcb-nogfx: add test templates for LAVA job and environment
Change-Id: I9c5a95bd33516e8451113dbabf6b6739dc637b7d Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9819 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit ca8367a37ff019862aae48fc5a3d05ad56f084ec) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9877
Diffstat (limited to 'templates/machine/m3ulcb-nogfx/test/testjob_short.yaml')
-rw-r--r--templates/machine/m3ulcb-nogfx/test/testjob_short.yaml48
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/machine/m3ulcb-nogfx/test/testjob_short.yaml b/templates/machine/m3ulcb-nogfx/test/testjob_short.yaml
new file mode 100644
index 000000000..d14b7704f
--- /dev/null
+++ b/templates/machine/m3ulcb-nogfx/test/testjob_short.yaml
@@ -0,0 +1,48 @@
+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
+