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