summaryrefslogtreecommitdiff
path: root/example-jobs/beaglebone-black-myoverlay.yaml
blob: 502f0b008455f867a5043379dffa0ba9f04c6ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
device_type: beaglebone-black

job_name: beaglebone-black overlay example job
timeouts:
  job:
    minutes: 10
  action:
    minutes: 5
  connection:
    minutes: 2
priority: medium
visibility: public

# metadata, actions:deploy and actions:boot come directly from the
# beaglebone-black health test (copied 2019-01-21) but with jessie/4
# replaced with stretch/3 so we don't need to reply on -backports.

metadata:
  source: https://git.linaro.org/lava-team/refactoring.git
  path: health-checks/beaglebone-black-health.yaml
  build-readme: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/armhf/3/debian-armmp-armhf-readme.html
  build-console: https://ci.linaro.org/view/lava-ci/job/lava-debian-armmp-armhf/1/console
  build-script: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/armhf/3/armmp-nfs.sh

actions:
- deploy:
    timeout:
      minutes: 4
    to: tftp
    kernel:
      url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/armhf/3/vmlinuz
      type: zimage
    ramdisk:
      url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/armhf/3/initramfs.cpio.gz
      compression: gz
      # the bootloader needs a u-boot header on the modified ramdisk
      add-header: u-boot
    modules:
      url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/armhf/3/modules.tar.gz
      compression: gz
    nfsrootfs:
      url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/armhf/3/stretch-armhf-nfs.tar.gz
      compression: gz
    os: debian
    dtb:
      url: http://images.validation.linaro.org/snapshots.linaro.org/components/lava/standard/debian/stretch/armhf/3/dtbs/am335x-boneblack.dtb

- boot:
    method: u-boot
    commands: nfs
    auto_login:
      login_prompt: 'login:'
      username: root
    prompts:
    - 'root@stretch:'
    timeout:
      minutes: 3

- test:
    timeout:
      minutes: 15
    definitions:

    - repository: https://git.linaro.org/people/daniel.thompson/myoverlay.git
      from: git
      path: lava-test-shell/overlay.yaml
      name: apply-overlay

    - repository:
        metadata:
            format: Lava-Test Test Definition 1.0
            name: check-overlay
        run:
            steps:
                - lava-test-case check-overlay-example --shell example
      from: inline
      path: inline/check-overlay.yaml
      name: check-overlay