Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Copyright (C) 2017, Codethink, Ltd., Robert Marshall <robert.marshall@codethink.co.uk>
- # SPDX-License-Identifier: AGPL-3.0
- # 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.
- # 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.
- # 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/>.
- device_type: beaglebone-black
- # NFS fails on panda and arndale.
- job_name: local simple inline bbb test
- timeouts:
- job:
- minutes: 10
- action:
- minutes: 5
- connection:
- minutes: 3
- priority: medium
- visibility: public
- # ACTION_BLOCK
- actions:
- - deploy:
- timeout:
- minutes: 4
- to: tftp
- kernel:
- # if the health check needs to be a robust build
- url: http://localhost:8010/cip-example-k4.4.92/cip_v4.4.92/v4.4.92-cip11/arm/omap2plus_defconfig/zImage
- ramdisk:
- # for the moment download from linaro
- url: http://snapshots.linaro.org/components/lava/standard/debian/jessie/armhf/4/initramfs.cpio.gz
- compression: gz
- # the bootloader needs a u-boot header on the modified ramdisk
- add-header: u-boot
- modules:
- # matching the kernel
- url: http://localhost:8010/cip-example-k4.4.92/cip_v4.4.92/v4.4.92-cip11/arm/omap2plus_defconfig/modules.tar.xz
- compression: xz
- # despite this being a Debian initramfs, it is not a complete Debian rootfs, so use oe compatibility
- os: oe
- dtb:
- # and again
- url: http://localhost:8010/cip-example-k4.4.92/cip_v4.4.92/v4.4.92-cip11/arm/omap2plus_defconfig/dtbs/am335x-boneblack.dtb
- # BOOT_BLOCK
- - boot:
- method: u-boot
- commands: ramdisk
- type: bootz
- prompts:
- # escape the brackets to ensure that the prompt does not match
- # kernel debug lines which may mention initramfs
- - '\(initramfs\)'
- timeout:
- minutes: 3
- # TEST_BLOCK
- - test:
- timeout:
- minutes: 4
- definitions:
- - repository:
- metadata:
- name: simple-commands
- description: "check shell"
- os:
- - oe
- scope:
- - functional
- run:
- steps:
- - ls
- - pwd
- - uname
- from: inline
- path: bbb_test1.yaml
- name: smoke-tests
Add Comment
Please, Sign In to add comment