diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2015-11-17 15:34:41 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-11-17 15:34:41 +0200 |
commit | b61a5677c238c18b1296b2047463a8281685569b (patch) | |
tree | 2ed17c76bf9c9c4d894b9274cc8668df57bfe891 /96boards-hikey | |
parent | d44a74c783ace05ef4e2bbf54d764fad696bcf1d (diff) |
96boards-hikey: submit build to lava
Change-Id: I7a87d6029cb12a3007990fdbe8c7fe3a99a3e471
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to '96boards-hikey')
-rw-r--r-- | 96boards-hikey/lava-job-definitions/hi6220-hikey/template.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/96boards-hikey/lava-job-definitions/hi6220-hikey/template.yaml b/96boards-hikey/lava-job-definitions/hi6220-hikey/template.yaml new file mode 100644 index 0000000000..4e6e2d7b56 --- /dev/null +++ b/96boards-hikey/lava-job-definitions/hi6220-hikey/template.yaml @@ -0,0 +1,36 @@ +actions: +- command: deploy_linaro_android_image + parameters: + images: + - partition: 'ptable' + url: 'http://builds.96boards.org/snapshots/hikey/linaro/uefi/latest/ptable-linux-4g.img' + - partition: 'boot' + url: '${BOOT_URL}' + - partition: 'system' + url: '${SYSTEM_URL}' + target_type: 'ubuntu' +- command: boot_linaro_image +- command: 'lava_command_run' + parameters: + commands: + - 'nmcli dev status' + - 'nmcli dev wifi' + - 'nmcli dev wifi con LAVA_Leased password RedDwarf name LAVA_Leased' + - 'nmcli con up id LAVA_Leased' + - '/sbin/iw wlan0 set power_save off' + - 'echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth' + - 'ping -c 4 google.com' +- command: 'lava_command_run' + parameters: + commands: + - '/sbin/sgdisk -e /dev/mmcblk0' + - '/sbin/parted /dev/mmcblk0 resizepart 9 Yes 100%' + - '/sbin/resize2fs /dev/disk/by-label/rootfs' + - 'df -h' +- command: submit_results + parameters: + server: 'http://${LAVA_SERVER}' + stream: '${BUNDLE_STREAM_NAME}' +device_type: '${DEVICE_TYPE}' +job_name: '${BUILD_URL}' +timeout: 18000 |