Guest User

smita

a guest
Jan 10th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. # Copyright (C) 2017, Codethink, Ltd., Robert Marshall <robert.marshall@codethink.co.uk>
  2. # SPDX-License-Identifier: AGPL-3.0
  3. # This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3.
  4. # This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
  5. # You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
  6. device_type: beaglebone-black
  7. # NFS fails on panda and arndale.
  8. job_name: local simple inline bbb test
  9. timeouts:
  10. job:
  11. minutes: 10
  12. action:
  13. minutes: 5
  14. connection:
  15. minutes: 3
  16. priority: medium
  17. visibility: public
  18. # ACTION_BLOCK
  19. actions:
  20. - deploy:
  21. timeout:
  22. minutes: 4
  23. to: tftp
  24. kernel:
  25. # if the health check needs to be a robust build
  26. url: http://localhost:8010/cip-example-k4.4.92/cip_v4.4.92/v4.4.92-cip11/arm/omap2plus_defconfig/zImage
  27. ramdisk:
  28. # for the moment download from linaro
  29. url: http://snapshots.linaro.org/components/lava/standard/debian/jessie/armhf/4/initramfs.cpio.gz
  30. compression: gz
  31. # the bootloader needs a u-boot header on the modified ramdisk
  32. add-header: u-boot
  33. modules:
  34. # matching the kernel
  35. url: http://localhost:8010/cip-example-k4.4.92/cip_v4.4.92/v4.4.92-cip11/arm/omap2plus_defconfig/modules.tar.xz
  36. compression: xz
  37. # despite this being a Debian initramfs, it is not a complete Debian rootfs, so use oe compatibility
  38. os: oe
  39. dtb:
  40. # and again
  41. url: http://localhost:8010/cip-example-k4.4.92/cip_v4.4.92/v4.4.92-cip11/arm/omap2plus_defconfig/dtbs/am335x-boneblack.dtb
  42. # BOOT_BLOCK
  43. - boot:
  44. method: u-boot
  45. commands: ramdisk
  46. type: bootz
  47. prompts:
  48. # escape the brackets to ensure that the prompt does not match
  49. # kernel debug lines which may mention initramfs
  50. - '\(initramfs\)'
  51. timeout:
  52. minutes: 3
  53. # TEST_BLOCK
  54. - test:
  55. timeout:
  56. minutes: 4
  57. definitions:
  58. - repository:
  59. metadata:
  60. name: simple-commands
  61. description: "check shell"
  62. os:
  63. - oe
  64. scope:
  65. - functional
  66. run:
  67. steps:
  68. - ls
  69. - pwd
  70. - uname
  71. from: inline
  72. path: bbb_test1.yaml
  73. name: smoke-tests
Add Comment
Please, Sign In to add comment