imx8mq-evk.yaml 2.15 KB
Newer Older
1
2
3
4
5
device_type: imx8m
job_name: imx8m simple deployment

timeouts:
  job:
Rémi Duraffort's avatar
Rémi Duraffort committed
6
    minutes: 45
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
  action:
    minutes: 15
  connection:
    minutes: 10
priority: medium
visibility: public

metadata:
  os: android
  android.version: '8.1.0'
  build-location: http://snapshots.linaro.org/android/imx8m/4/
  target: M850D
  build: 4

protocols:
  lava-lxc:
    name: lxc-imx8m-test
    template: debian
    distribution: debian
    release: stretch
    persist: false

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

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

- deploy:
    timeout:
      minutes: 45
    to: fastboot
    namespace: imx8m
    images:
      boot_a:
        url: http://images.validation.linaro.org/snapshots.linaro.org/android/imx8m/4/boot-imx8mq.img
        sha256sum: f7f596bf4d536e5e6ebbbb4cab49f752cedbe1292b1413e9f9d39e87a6736d76
        sparse: false
      system_a:
        url: http://images.validation.linaro.org/snapshots.linaro.org/android/imx8m/4/system.img.gz
        sha256sum: ac0dab4ed55bd6b52154fd38a3ad6c548f045c56c9ea205bdc182316d5e6398e
        compression: gz
      vendor_a:
        url: http://images.validation.linaro.org/snapshots.linaro.org/android/imx8m/4/vendor.img
        sha256sum: d8404d46195cb814f173077f76df118cddd299c627198acb9ac9aa8cf581d43d
      vbmeta_a:
        url: http://images.validation.linaro.org/snapshots.linaro.org/android/imx8m/4/vbmeta-imx8mq.img
        sha256sum: bd44b5deb281fefc5d4a1b910dcae39d39a2c66ced138b71530a520de77ec651
        sparse: false

- boot:
    namespace: imx8m
    method: fastboot
    commands:
    - --set-active=_a
    prompts:
    - 'evk_8mq:'
    timeout:
      minutes: 5

- test:
    namespace: lxc
    timeout:
      minutes: 10
    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-imx8m-serial
    - repository: https://git.linaro.org/qa/test-definitions.git
      from: git
      path: automated/linux/smoke/smoke.yaml
      name: smoke-tests-lxc