aboutsummaryrefslogtreecommitdiff
path: root/health-checks/nexus4.yaml
blob: 4f47344cc2e9eaa467af9583c3f3dc37addb4bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
device_type: nexus4
job_name: Nexus4 health check
timeouts:
  job:
    minutes: 60
  action:
    minutes: 5
  connection:
    minutes: 2
priority: medium
visibility: public
reboot_to_fastboot: false

metadata:
  source: https://git.linaro.org/lava-team/refactoring.git
  path: health-checks/nexus4.yaml

protocols:
  lava-lxc:
    name: lxc-nexus4
    template: debian
    distribution: debian
    release: stretch

actions:
- deploy:
    namespace: tlxc
    timeout:
      minutes: 5
    to: lxc
    packages:
    - adb
    - fastboot

- boot:
    namespace: tlxc
    prompts:
    - 'root@(.*):/#'
    timeout:
      minutes: 5
    method: lxc

- deploy:
    timeout:
      minutes: 5
    to: fastboot
    namespace: droid
    images:
      boot:
        url: http://images.validation.linaro.org/people.linaro.org/~senthil.kumaran/nexus4-userdebug/boot.img
      userdata:
        url: http://images.validation.linaro.org/people.linaro.org/~senthil.kumaran/nexus4-userdebug/userdata.img
      system:
        url: http://images.validation.linaro.org/people.linaro.org/~senthil.kumaran/nexus4-userdebug/system.img

- boot:
    namespace: droid
    timeout:
      minutes: 15
    method: fastboot

- test:
    namespace: tlxc
    timeout:
      minutes: 5
    definitions:
    - repository: https://git.linaro.org/lava-team/lava-functional-tests.git
      from: git
      path: lava-test-shell/android/get-adb-serial.yaml
      name: get-nexus4-serial