aboutsummaryrefslogtreecommitdiff
path: root/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json
blob: 2076db3ede9b30b52d59d41908269f5f21d9fe32 (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
{
  "actions": [
    {
      "command": "deploy_linaro_image",
      "parameters": {
        "bootloadertype": "uefi",
          "customize": {
            "boot:/fvp": [
              "delete"
            ],
            "${STARTUP_NSH}": [
              "boot:/EFI/BOOT/startup.nsh"
            ],
            "${BL1_URL}": [
              "boot:/fvp_bl1.bin"
            ],
            "${FIP_URL}": [
              "boot:/fvp_fip.bin"
            ],
            "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/uefi_update_capsule_example_v2.txt": [
              "rootfs:/uefi_update_capsule_example.txt"
            ]
          },
        "image": "${IMAGE_URL}"
      },
      "metadata": {
        "build id": "${BUILD_NUMBER}",
        "git URL": "${GIT_URL}",
        "git branch": "${GIT_BRANCH}",
        "git commit": "${GIT_COMMIT}",
        "template": "update-capsule"
      }
    },
    {
      "command": "boot_linaro_image",
      "parameters": {
        "boot_cmds": [
          "sendline 2",
          "expect or any other key to continue.",
          "sendline "
        ]
      }
    },
    {
      "command": "lava_test_shell",
      "parameters":
      {
        "testdef_repos": [
        {
          "parameters":
          {
            "EXAMPLE_FILE_URL": "/uefi_update_capsule_example.txt"
          },
          "url": "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/uefi_update_capsule_temp.yaml"
        }]
      }
    },
    {
      "command": "submit_results",
      "parameters": {
        "server": "http://${LAVA_SERVER}",
        "stream": "${BUNDLE_STREAM_NAME}"
      }
    }
  ],
  "device_type": "${DEVICE_TYPE}",
  "job_name": "${BUILD_URL}",
  "timeout": 18000
}