Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- device_type: my_device
- job_name: DEMO
- timeouts:
- job:
- minutes: 30
- action:
- minutes: 15
- connection:
- minutes: 2
- priority: medium
- visibility: public
- protocols:
- lava-lxc:
- name: lxc-test
- template: debian
- distribution: debian
- release: stretch
- mirror: http://mirror.bytemark.co.uk/debian
- actions:
- - deploy:
- namespace: tlxc
- timeout:
- minutes: 5
- to: lxc
- packages:
- - adb
- - fastboot
- - wget
- - unzip
- os: debian
- - boot:
- namespace: tlxc
- prompts:
- - 'root@(.*):'
- - 'hikey: '
- timeout:
- minutes: 5
- method: lxc
- - test:
- namespace: target
- timeout:
- minutes: 5
- definitions:
- - repository:
- metadata:
- format: Lava-Test Test Definition 1.0
- name: passfail
- description: "Pass/Fail test."
- os:
- - debian
- scope:
- - functional
- run:
- steps:
- - wget https://mylink-image.tar.gz
- - tar -xf mylink-image.tar.gz
- - mv mylink-image/ root/mylink-image
- from: inline
- name: device-helpers
- path: inline/device-helpers.yaml
- - deploy:
- timeout:
- minutes: 15
- to: fastboot
- namespace: target
- images:
- persist:
- url: lxc:///root/mylink-image/persist.ext4
- - boot:
- namespace: target
- prompts:
- - 'root@device:~#'
- auto_login:
- login_prompt: 'login:'
- username: root
- timeout:
- minutes: 5
- method: fastboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement