pawan4749

reboot_definition

Oct 12th, 2022
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. device_type: ADT-AIO7-GRIP1
  2. job_name: flash with mfgtools and run tests
  3. timeouts:
  4. job:
  5. minutes: 20
  6. action:
  7. minutes: 15
  8. connection:
  9. minutes: 5
  10. visibility: public
  11. actions:
  12. - deploy:
  13. to: flasher
  14. images:
  15. package:
  16. url: https://artifactory.softwaretool.com/artifactory/01.006573-055-aio-01939v3.7z
  17. - boot:
  18. timeout:
  19. minutes: 10
  20. commands:
  21. - boot
  22. method: u-boot
  23. auto_login:
  24. login_prompt: 'login: '
  25. username: root
  26. password_prompt: 'Password:'
  27. password: root
  28. login_commands:
  29. - coredump --enable
  30. - sysinfo
  31. - wifi-client -c ENG24 "Ademconet@2?4#"
  32. - ifconfig
  33. - scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected].*.*:/var/www/oslat .
  34. - ostree static-delta apply-offline /home/root/oslat
  35. - ostree admin deploy 35b3297cf3e4bc59d2a21e2ae9f7a02ef3f7a940e37389a7e9ae66a610c60b70
  36. prompts:
  37. - 'root@hon-grip'
  38. - test:
  39. timeout:
  40. minutes: 3
  41. interactive:
  42. - name: dummy
  43. prompts: [ "root@hon-grip" ]
  44. script:
  45. - name: check_for_factory_bin
  46. command: if [ -f /system/factory/bin/factory.bin ];then echo "TRUE"; else echo "FALSE";fi
  47. successes:
  48. - message: "TRUE"
  49. failures:
  50. - message: "FALSE"
  51. exception: InfrastructureError
  52. error: "factory.bin provision failure"
  53. - boot:
  54. timeout:
  55. minutes: 10
  56. commands:
  57. - boot
  58. method: u-boot
  59. prompts:
  60. - 'root@hon-grip'
  61. auto_login:
  62. login_prompt: 'login: '
  63. username: root
  64. password_prompt: 'Password:'
  65. password: root
  66. login_commands:
  67. - sysinfo
  68.  
Advertisement
Add Comment
Please, Sign In to add comment