aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/ota-update/verify-update.yaml
blob: 94ef3bc6224a9e5ebc9576e81aee44ee1f73fbf9 (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
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2022 Foundries.io
metadata:
    format: Lava-Test Test Definition 1.0
    name: ota-update-verify
    description: "Verify system booted with upgrade"

    maintainer:
        - milosz.wasilewski@foundries.io
    os:
        - openembedded
    scope:
        - functional

    devices:
        - imx8mm
        - imx6ull
        - stm32mp15-disco

params:
        UBOOT_VAR_TOOL: "fw_printenv"
        UBOOT_VAR_SET_TOOL: "fw_setenv"
        TYPE: "kernel"
        TARGET_VERSION: "1"
        BOOTROM_USE_SECONDARY: "true"
run:
    steps:
        - cd ./automated/linux/ota-update
        - ./verify-update.sh  -t "${TYPE}" -u "${UBOOT_VAR_TOOL}" -s "${UBOOT_VAR_SET_TOOL}" -v "${TARGET_VERSION}" -b "${BOOTROM_USE_SECONDARY}"
        - ../../utils/send-to-lava.sh ./output/result.txt