aboutsummaryrefslogtreecommitdiff
path: root/lkft/lava-job-definitions/docker/devices/hikey960
blob: 5e5c0af0621a88223a38812d60aa5aeab95b3556 (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
71
72
73
74
75
{% extends "template-lkft.yaml" %}

{% block device_type %}hi960-hikey{% endblock %}

{% block secrets %}
  {{ super() }}
  AP_SSID: "{{AP_SSID}}"
  AP_KEY: "{{AP_KEY}}"
{% endblock %}

{% block deploy_target %}
- deploy:
    to: downloads
    images:
      ptable:
        url: https://images.validation.linaro.org/snapshots.linaro.org/96boards/reference-platform/components/uefi-staging/85/hikey960/release/prm_ptable.img
      boot:
        url: {{DOWNLOAD_URL}}/boot.img.xz
        compression: xz
      userdata:
        url: {{REFERENCE_BUILD_URL}}/userdata.img.xz
        compression: xz
{% if HIKEY960_SUPPORT_SUPER is defined %}
      super:
        url: {{REFERENCE_BUILD_URL}}/super.img.xz
        compression: xz
{% else %}
      system:
        url: {{REFERENCE_BUILD_URL}}/system.img.xz
        compression: xz
      vendor:
        url: {{REFERENCE_BUILD_URL}}/vendor.img.xz
        compression: xz
{% endif %}

- deploy:
    timeout:
      minutes: 15
    to: fastboot
    docker:
        image: yongqinliu/linaro-android-docker:0.1
    images:
      ptable:
        url: downloads://prm_ptable.img
      boot:
        url: downloads://boot.img
      userdata:
        url: downloads://userdata.img
{% if HIKEY960_SUPPORT_SUPER is defined %}
      super:
        url: downloads://super.img
{% else %}
      system:
        url: downloads://system.img
      vendor:
        url: downloads://vendor.img
{% endif %}

{% endblock deploy_target %}

{% block boot_target %}
- boot:
    docker:
        image: yongqinliu/linaro-android-docker:0.1
    prompts:
    - 'root@(.*):/#'
    - 'hikey:/'
    - 'console:/'
    timeout:
      minutes: 15
    method: fastboot
{% endblock boot_target %}

{% block test_target %}
{% endblock test_target %}