aboutsummaryrefslogtreecommitdiff
path: root/coresight/lava-job-definitions/vexpress-tc2/template.yaml
blob: f1e6967de04f0548be7b170a41f69e3ac62259f9 (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
actions:
    - command: deploy_linaro_image
      parameters:
        hwpack: '${HWPACK_BUILD_URL}'
        rootfs: '${ROOTFS_BUILD_URL}'
      metadata:
        distribution: 'openembedded'
        hwpack.build: '${BUILD_NUMBER}'
        hwpack.type: '${hwpack_type}'
        rootfs.build: '${ROOTFS_BUILD_NUMBER}'
        rootfs.type: 'minimal-armv7a-gcc-4.9'
        git URL: '${GIT_URL}'
        git branch: '${GIT_BRANCH}'
        git commit: '${GIT_COMMIT}'
    - command: boot_linaro_image
      parameters: 
        boot_cmds:
          - 'sendline a'
          - 'expect Choice:'
          - 'sendline 3'
          - 'expect Delete entry:'
          - 'sendline 1'
          - 'expect Choice:'
          - 'sendline 1'
          - 'expect Select the Boot Device:'
          - 'sendline 4'
          - 'expect File path of the EFI Application or the kernel:'
          - 'sendline uImage'
          - 'expect Boot Type: [a] ATAGS, [g] Global FDT or [l] Local FDT? [a/g/l]'
          - 'sendline l'
          - 'expect Add an initrd: [y/n]'
          - 'sendline y'
          - 'expect File path of the initrd'
          - 'sendline uInitrd'
          - 'expect Arguments to pass to the binary:'
          - 'sendline console=tty0 console=ttyAMA0,38400n8 root=/dev/sda1 rootwait ro'
          - 'expect File path of the local FDT:'
          - 'sendline v2p-ca15-tc2.dtb'
          - 'expect Description for this new Entry:'
          - 'sendline LAVA Test Image'
          - 'expect Choice:'
          - 'sendline 5'
          - 'expect Start:'
          - 'sendline 1'
    - command: lava_test_shell
      parameters:
        testdef_repos:
          - git-repo: 'git://git.linaro.org/people/vijay.dandiga/test-definitions.git'
            testdef: 'openembedded/coresight-test-new.yaml'
        timeout: 1800
    - command: submit_results
      parameters:
          server: 'http://${LAVA_SERVER}'
          stream: '${BUNDLE_STREAM_NAME}'
device_type: '${DEVICE_TYPE}'
job_name: '${BUILD_URL}'
timeout: 3600