aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2017-12-07 11:17:57 -0600
committerAnibal Limon <anibal.limon@linaro.org>2017-12-07 19:03:48 +0000
commit7f5b382c994d8b13f3c813efb03ae87a0a05b18a (patch)
tree37baf8c645d5a621ee804e1cf4bbc6fb99e578f7
parente52408630448d7191f5e53b8f8dbce35190083c4 (diff)
downloadconfigs-7f5b382c994d8b13f3c813efb03ae87a0a05b18a.tar.gz
lt-qcom/lava-job-definitions: base_template change to use google tools
The debian tools aren't the last one stable availables so use the last platform tools provided by google, tested [1]. [1] https://validation.linaro.org/scheduler/job/1658906 Change-Id: I31e5812ae24d79dfbf22cc9f877c36401326c429 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-rw-r--r--lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml25
1 files changed, 23 insertions, 2 deletions
diff --git a/lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml b/lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml
index 5b367e1..63c0f7f 100644
--- a/lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml
+++ b/lt-qcom/lava-job-definitions/dragonboard-410c/base_template.yaml
@@ -12,8 +12,8 @@ actions:
minutes: 5
to: lxc
packages:
- - android-tools-adb
- - android-tools-fastboot
+ - wget
+ - unzip
- img2simg
- simg2img
- e2fsprogs
@@ -59,6 +59,27 @@ actions:
- test:
namespace: tlxc
timeout:
+ minutes: 10
+ definitions:
+ - from: inline
+ name: install-google-fastboot
+ path: inline/install-google-fastboot.yaml
+ repository:
+ metadata:
+ format: Lava-Test Test Definition 1.0
+ name: install-fastboot
+ description: "Install fastboot provided by google"
+ run:
+ steps:
+ - wget https://dl.google.com/android/repository/platform-tools_r26.0.2-linux.zip
+ - unzip platform-tools_r26.0.2-linux.zip
+ - ln -s `pwd`/platform-tools/fastboot /usr/bin/fastboot
+ - ln -s `pwd`/platform-tools/adb /usr/bin/adb
+ - fastboot --version
+
+- test:
+ namespace: tlxc
+ timeout:
minutes: 30
definitions:
- from: inline