device_type: qemu
job_name: Boot with test on qemu-ppc-bamboo

actions:
- deploy:
    images:
      kernel:
        image_arg: -kernel {kernel}
        url: __FQDN__/vmlinux
      ramdisk:
        image_arg: -initrd {ramdisk}
        url: __FQDN__/rootfs.cpio.gz
    os: oe
    timeout:
      minutes: 3
    to: tmpfs
- boot:
    media: tmpfs
    method: qemu
    prompts:
    - '/ #'
    timeout:
      minutes: 5

- test:
    definitions:
    - from: git
      name: Boot
      path: execs/boot.yaml
      repository: https://github.com/montjoie/lava-tests.git
    timeout:
      minutes: 25

context:
  arch: ppc
  extra_options:
  - -append "console=ttyS0 root=/dev/ram0"
  - -device virtio-scsi-pci,id=scsi
  - -device scsi-hd,drive=test
  guestfs_driveid: test
  guestfs_interface: none
  machine: bamboo
  netdevice: tap
priority: high
timeouts:
  action:
    minutes: 10
  actions:
    power-off:
      seconds: 30
  job:
    minutes: 30
visibility: public
