Advertisement
ilya_fedusiv

Untitled

Feb 25th, 2020
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. device_type: mix-type
  2. job_name: test
  3. timeouts:
  4. job:
  5. minutes: 30
  6. action:
  7. minutes: 20
  8. connection:
  9. minutes: 5
  10. priority: medium
  11. visibility: public
  12. protocols:
  13. lava-lxc:
  14. name: mix
  15. template: debian
  16. distribution: debian
  17. release: stretch
  18. actions:
  19. - deploy:
  20. namespace: tlxc
  21. timeout:
  22. minutes: 5
  23. to: lxc
  24. packages:
  25. - wget
  26. - unzip
  27. - usbutils
  28. - iputils-ping
  29. os: ubuntu
  30.  
  31. - boot:
  32. namespace: tlxc
  33. prompts:
  34. - 'root@(.*):'
  35. - 'mix: '
  36. timeout:
  37. minutes: 5
  38. method: lxc
  39.  
  40. - test:
  41. namespace: tlxc
  42. timeout:
  43. minutes: 10
  44. definitions:
  45. - from: inline
  46. repository:
  47. metadata:
  48. format: Lava-Test Test Definition 1.0
  49. name: check-devices
  50. description: "LXC dev list"
  51. run:
  52. steps:
  53. - ping -c 3 10.77.60.50
  54. - lsusb
  55. name: lxc-dev-inline
  56. path: inline/lxc-dev.yaml
  57.  
  58. - command:
  59. name: switch_mode
  60.  
  61. - deploy:
  62. namespace: target
  63. timeout:
  64. minutes: 20
  65. to: flasher
  66. images:
  67. flash_dir:
  68. url: file:///home/image.tar.gz
  69.  
  70. - boot:
  71. namespace: target
  72. timeout:
  73. minutes: 20
  74. method: minimal
  75. prompts:
  76. - '~ #'
  77. - 'home #'
  78. - 'lava #'
  79. auto_login:
  80. login_prompt: 'device login'
  81. username: root
  82.  
  83. - test:
  84. namespace: target
  85. timeout:
  86. minutes: 10
  87. definitions:
  88. - from: inline
  89. repository:
  90. metadata:
  91. format: Lava-Test Test Definition 1.0
  92. name: test-mix
  93. description: "test"
  94. run:
  95. steps:
  96. - echo "TEST"
  97. name: test-dev-inline
  98. path: inline/test-dev.yaml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement