Advertisement
Guest User

Untitled

a guest
Dec 23rd, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. device_type: lxc
  2. job_name: templates/hacksession-debian-lxc.tpl
  3.  
  4. timeouts:
  5. job:
  6. minutes: 10
  7. action:
  8. minutes: 5
  9. connection:
  10. minutes: 2
  11. lava-test-shell:
  12. seconds: 1800
  13.  
  14. priority: medium
  15. visibility: public
  16.  
  17. protocols:
  18. lava-lxc:
  19. name: debian-lxc-lava
  20. template: debian
  21. distribution: debian
  22. arch: amd64
  23. release: sid
  24.  
  25. actions:
  26. - deploy:
  27. timeout:
  28. minutes: 5
  29. to: lxc
  30. os: debian
  31. packages:
  32. - systemd
  33. - systemd-sysv
  34.  
  35. - boot:
  36. prompts:
  37. - '[root@(.*) /]#'
  38. timeout:
  39. minutes: 5
  40. method: lxc
  41.  
  42. - test:
  43. timeout:
  44. minutes:
  45. definitions:
  46. - repository:
  47. metadata:
  48. format: Lava-Test Test Definition 1.0
  49. name: cfg-debian-net
  50. description: "cfg-debian-net: hack to get DHCP working"
  51. os:
  52. - debian
  53. scope:
  54. - functional
  55. run:
  56. steps:
  57. - echo "auto eth0" >> /etc/network/interfaces
  58. - echo "iface eth0 inet dhcp" >> /etc/network/interfaces
  59. - ifconfig eth0 down && ifconfig eth0 up
  60. - lava-test-case cfg-debian-net --result pass
  61. from: inline
  62. name: cfg-debian-net
  63. path: inline/cfg-debian-net.yaml
  64.  
  65. - test:
  66. definitions:
  67. - repository: <our repo>
  68. revision: dev
  69. from: git
  70. path: defs/hacksession-debian/hacking-session.yaml
  71. name: hacksession-debian
  72. parameters:
  73. PUB_KEY: "ssh-rsa <mykey> <myuser>@lava"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement