Advertisement
iarischenko

test_definition2

Mar 12th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.26 KB | None | 0 0
  1.  
  2. 1 metadata:
  3. 2    name: first-test-run
  4. 3    desription: "connect and echo test"
  5. 4    os: ubuntu
  6. 5    devices: home_pc
  7. 6    scope: functional
  8. 7
  9. 8 visibility: public
  10. 9 device_type: ssh
  11. 10
  12. 11 job_name: ssh-login
  13. 12
  14. 13 timeouts:
  15. 14   job:
  16. 15     minutes: 5
  17. 16   action:
  18. 17     minutes: 1
  19. 18
  20. 19 actions:
  21. 20     - deploy:
  22. 21          methods:
  23. 22            ssh:
  24. 23              ssh_user: ivan
  25. 24              user: ivan
  26. 25              path: /tmp
  27. 26          to: ssh
  28. 27          os: ubuntu
  29. 28     - boot:
  30. 29         method: ssh
  31. 30         connection: ssh
  32. 31         failure_retry: 2
  33. 32         prompts:
  34. 33           - 'ivan@iarishchenko_pc ~ $ '
  35. 34     - test:
  36. 35         definitions:
  37. 36             - from: inline
  38. 37               name: echo-test-ssh
  39. 38               path: inline/echo-test.yaml
  40. 39               repository:
  41. 40                  metadata:
  42. 41                    format: Lava-Test Test Definition 1.0
  43. 42                    name: echo-test
  44. 43                    description: echo test at target device
  45. 44                    os:
  46. 45                    - ubuntu
  47. 46                    scope:
  48. 47                    - functional
  49. 48                  run:
  50. 49                    steps:
  51. 50                      - echo "Hello,:" "world!"
  52. 51
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement