blob: bb56f5668e4465a17e3da5fa0cd9191e23335919 [file] [log] [blame]
Yongqin Liucd33c012017-09-29 15:20:20 +08001device_type: x15
2job_name: "%%JOB_NAME%%-%%ANDROID_META_BUILD%%-quadrantpro"
3timeouts:
4 job:
5 minutes: 60
6 action:
7 minutes: 15
8 connection:
9 minutes: 2
10priority: medium
11visibility: public
12
13metadata:
14 android.build: "%%ANDROID_META_BUILD%%"
15 android.name: "%%ANDROID_META_NAME%%"
16 android.url: "%%ANDROID_META_URL%%"
17 android.fastboot: "platform-tools_r26.0.0"
18
19protocols:
20 lava-lxc:
21 name: lxc-x15-test
22 template: ubuntu
23 distribution: ubuntu
24 release: xenial
25 arch: amd64
26
27actions:
28- deploy:
29 namespace: tlxc
30 timeout:
31 minutes: 5
32 to: lxc
33 packages:
34 - wget
35 - zip
36 - unzip
37 os: ubuntu
38
39- boot:
40 namespace: tlxc
41 prompts:
42 - 'root@(.*):/#'
43 - 'shell@am57xevm:/'
44 timeout:
45 minutes: 5
46 method: lxc
47
48- test:
49 namespace: tlxc
50 timeout:
51 minutes: 10
52 definitions:
53 - from: inline
54 name: install-google-fastboot
55 path: inline/install-google-fastboot.yaml
56 repository:
57 metadata:
58 format: Lava-Test Test Definition 1.0
59 name: install-fastboot
60 description: "Install fastboot provided by google"
61 run:
62 steps:
63 - wget https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip
64 - unzip platform-tools_r26.0.0-linux.zip
65 - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
66 - ln -s `pwd`/platform-tools/adb /usr/bin/adb
67 - fastboot --version
68
69- deploy:
70 timeout:
71 minutes: 30
72 to: fastboot
73 namespace: droid
74 connection: lxc
75 images:
76 environment:
77 url: "%%DOWNLOAD_URL%%/am57xx-evm-reva3.dtb"
78 boot:
79 url: "%%ANDROID_BOOT%%"
80 cache:
81 url: "%%ANDROID_CACHE%%"
82 userdata:
83 url: "%%ANDROID_DATA%%"
84 system:
85 url: "%%ANDROID_SYSTEM%%"
86 vendor:
87 url: "%%DOWNLOAD_URL%%/vendor.img"
88
89- boot:
90 namespace: droid
91 connection: serial
92 prompts:
93 - 'root@(.*):/#'
94 - 'shell@am57xevm:/'
95 timeout:
96 minutes: 15
97 method: fastboot
98
99- test:
100 namespace: tlxc
101 connection: lxc
102 timeout:
103 minutes: 60
104 definitions:
105 - repository: https://git.linaro.org/qa/test-definitions.git
106 from: git
107 path: automated/android/apk-automation/apk-automation.yaml
108 name: quadrantpro
109 params:
110 TEST_NAME: quadrantpro
111 LOOPS: 5