aboutsummaryrefslogtreecommitdiff
path: root/openembedded-lkft/lava-job-definitions/lkft-fastboot.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded-lkft/lava-job-definitions/lkft-fastboot.jinja2')
-rw-r--r--openembedded-lkft/lava-job-definitions/lkft-fastboot.jinja287
1 files changed, 16 insertions, 71 deletions
diff --git a/openembedded-lkft/lava-job-definitions/lkft-fastboot.jinja2 b/openembedded-lkft/lava-job-definitions/lkft-fastboot.jinja2
index 6b8485a5c9..c5f8707978 100644
--- a/openembedded-lkft/lava-job-definitions/lkft-fastboot.jinja2
+++ b/openembedded-lkft/lava-job-definitions/lkft-fastboot.jinja2
@@ -4,63 +4,14 @@
{{ super() }}
context:
test_character_delay: 10
+reboot_to_fastboot: false
{% endblock global_settings %}
-{% block protocols %}
-protocols:
- lava-lxc:
- name: lxc-target
- template: debian
- distribution: debian
- release: buster
- arch: amd64
- mirror: http://deb.debian.org/debian
-{% endblock protocols %}
-
{% block actions %}
- deploy:
- namespace: tlxc
- timeout:
- minutes: 15
- to: lxc
- packages:
- - --no-install-recommends
- - cpio
- - curl
- - file
- - git
- - img2simg
- - libguestfs-tools
- - linux-image-amd64
- - mkbootimg
- - xz-utils
- os: debian
-
-- boot:
- namespace: tlxc
- prompts:
- - 'root@(.*):/#'
- timeout:
- minutes: 5
- method: lxc
-
-- test:
- namespace: tlxc
- timeout:
- minutes: 10
- definitions:
- - repository: https://github.com/Linaro/test-definitions.git
- from: git
- path: automated/linux/android-platform-tools/install.yaml
- name: install-android-platform-tools-r2600
- parameters:
- LINK: 'https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip'
-
-- deploy:
timeout:
minutes: 40
- to: download
- namespace: target
+ to: downloads
images:
{%- if DEVICE_TYPE == "hi6220-hikey" %}
ptable:
@@ -76,29 +27,24 @@ protocols:
url: {{KERNEL_URL}}
modules:
url: {{MODULES_URL}}
+ compression: gz
+{%- if DEVICE_TYPE == 'dragonboard-410c' %}
rootfs:
+{%- elif DEVICE_TYPE == 'hi6220-hikey' %}
+ system:
+{%- elif DEVICE_TYPE == 'x15' %}
+ super:
+{%- endif %}
url: {{EXT4_IMAGE_URL}}
+ format: ext4
+ compression: gz
apply-overlay: true
os: oe
-- test:
- namespace: tlxc
- timeout:
- minutes: 30
- definitions:
- - from: inline
- name: resize-rootfs
- path: inline/resize-rootfs.yaml
- repository:
- metadata:
- description: resize rootfs image for test overlay
- format: Lava-Test Test Definition 1.0
- name: resize-rootfs
- run:
- steps:
- - pwd
- - cd /lava-lxc
- - git clone -b 20200115 https://github.com/linaro/kir.git
- - ./kir/lava/board_setup.sh {{DEVICE_TYPE}}
+ postprocess:
+ docker:
+ image: linaro/kir
+ steps:
+ - /kir/lava/board_setup.sh {{DEVICE_TYPE}}
{% block deploy_target %}
{% endblock deploy_target %}
@@ -108,7 +54,6 @@ protocols:
{% block test_target %}
- test:
- namespace: target
timeout:
minutes: {% if job_timeout is defined %}{{ job_timeout }}{% else %}60{% endif %}
definitions: