blob: de8b34bb21efa36866dfc429dce144b0039d81ee [file] [log] [blame]
Chris Kay3d807882022-08-31 16:00:02 +01001device_type: juno
2job_name: tf-juno
3
4context:
5 bootloader_prompt: $bootloader_prompt
6
7$tags
8$juno_revision
9
10timeouts:
11 # Global timeout value for the whole job.
12 job:
13 minutes: 30
14 # Unless explicitly overridden, no single action should take more than
15 # 10 minutes to complete.
16 action:
17 minutes: 10
18
Paul Sokolovsky163c2102022-12-07 20:43:48 +030019priority: ${LAVA_PRIORITY:-medium}
Chris Kay3d807882022-08-31 16:00:02 +010020visibility: public
21
22actions:
23
24- deploy:
25 namespace: recovery
26 to: vemsd
27 recovery_image:
28 url: $recovery_img_url
29 compression: zip
30
31- deploy:
32 namespace: target
33 to: nfs
34 os: $os
35 nfsrootfs:
36 url: $nfs_rootfs
37 compression: gz
38
39- boot:
40 # Drastically increase the timeout for the boot action because of the udev
41 # issues when using TF build config "juno-all-cpu-reset-ops".
42 # TODO: Should increase the timeout only for this TF build config, not all!
43 timeout:
44 minutes: 15
45 namespace: target
46 connection-namespace: recovery
47 method: u-boot
48 commands: norflash
49 auto-login:
50 login_prompt: 'login:'
51 username: root
52 prompts:
53 - $linux_prompt
54
55- test:
56 namespace: target
57 timeout:
58 minutes: 10
59 definitions:
60 - repository:
61 metadata:
62 format: Lava-Test Test Definition 1.0
63 name: container-test-run
64 description: '"Prepare system..."'
65 os:
66 - $os
67 scope:
68 - functional
69 run:
70 steps:
71 - echo "Rebooting..."
72 from: inline
73 name: target-configure
74 path: inline/target-configure.yaml
75
76- boot:
77 timeout:
78 minutes: 15
79 namespace: target
80 connection-namespace: recovery
81 method: u-boot
82 commands: norflash
83 auto-login:
84 login_prompt: 'login:'
85 username: root
86 prompts:
87 - $linux_prompt