m3ulcb-nogfx: add test templates for LAVA job and environment
[AGL/meta-agl.git] / templates / machine / m3ulcb-nogfx / test / testjob_short.yaml
1 device_type: @REPLACE_DEVICE_TYPE@
2 job_name: AGL-short-smoke
3
4 protocols:
5   lava-xnbd:
6     port: auto
7
8 timeouts:
9   job:
10     minutes: 30
11   action:
12     minutes: 15
13   connection:
14     minutes: 5
15   bootloader-commands:
16     minutes: 4
17 priority: medium
18 visibility: public
19
20 # ACTION_BLOCK
21 actions:
22 - deploy:
23     timeout:
24       minutes: 15
25     to: nbd
26     dtb:
27       url: '@REPLACE_URL_PREFIX@/@REPLACE_DTB@'
28     kernel:
29       url: '@REPLACE_URL_PREFIX@/@REPLACE_KERNEL@'
30     initrd:
31       url: '@REPLACE_URL_PREFIX@/@REPLACE_INITRAMFS@'
32       allow_modify: false
33     nbdroot:
34       url: '@REPLACE_URL_PREFIX@/@REPLACE_NBDROOT@'
35       compression: @REPLACE_NBDROOT_COMPRESSION@
36     os: debian
37     failure_retry: 2
38
39 # BOOT_BLOCK
40 - boot:
41     method: @REPLACE_BOOT_METHOD@
42     commands: nbd
43     type: @REPLACE_BOOT_TYPE@
44     prompts: ["root@@REPLACE_MACHINE@:~"]
45     auto_login:
46       login_prompt: "login:"
47       username: root
48