Advertisement
ilya_fedusiv

Untitled

Oct 27th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. device_type: my_device
  2. job_name: DEMO
  3. timeouts:
  4. job:
  5. minutes: 30
  6. action:
  7. minutes: 15
  8. connection:
  9. minutes: 2
  10. priority: medium
  11. visibility: public
  12. protocols:
  13. lava-lxc:
  14. name: lxc-test
  15. template: debian
  16. distribution: debian
  17. release: stretch
  18. mirror: http://mirror.bytemark.co.uk/debian
  19.  
  20. actions:
  21. - deploy:
  22. namespace: tlxc
  23. timeout:
  24. minutes: 5
  25. to: lxc
  26. packages:
  27. - adb
  28. - fastboot
  29. - wget
  30. - unzip
  31. os: debian
  32. - boot:
  33. namespace: tlxc
  34. prompts:
  35. - 'root@(.*):'
  36. - 'hikey: '
  37. timeout:
  38. minutes: 5
  39. method: lxc
  40. - test:
  41. namespace: target
  42. timeout:
  43. minutes: 5
  44. definitions:
  45. - repository:
  46. metadata:
  47. format: Lava-Test Test Definition 1.0
  48. name: passfail
  49. description: "Pass/Fail test."
  50. os:
  51. - debian
  52. scope:
  53. - functional
  54. run:
  55. steps:
  56. - wget https://mylink-image.tar.gz
  57. - tar -xf mylink-image.tar.gz
  58. - mv mylink-image/ root/mylink-image
  59. from: inline
  60. name: device-helpers
  61. path: inline/device-helpers.yaml
  62.  
  63. - deploy:
  64. timeout:
  65. minutes: 15
  66. to: fastboot
  67. namespace: target
  68. images:
  69. persist:
  70. url: lxc:///root/mylink-image/persist.ext4
  71.  
  72. - boot:
  73. namespace: target
  74. prompts:
  75. - 'root@device:~#'
  76. auto_login:
  77. login_prompt: 'login:'
  78. username: root
  79. timeout:
  80. minutes: 5
  81. method: fastboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement