Leonardo Sandoval | d76d1e2 | 2020-10-06 16:02:52 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
Leonardo Sandoval | 850a486 | 2021-02-16 13:56:18 -0600 | [diff] [blame] | 3 | # Copyright (c) 2019-2021 Arm Limited. All rights reserved. |
Leonardo Sandoval | d76d1e2 | 2020-10-06 16:02:52 -0500 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
Paul Sokolovsky | ee5f4c1 | 2021-11-16 13:44:07 +0300 | [diff] [blame] | 8 | # Generate a FVP-TFTF model agnostic YAML template. Note that this template |
| 9 | # is not ready to be sent to LAVA by Jenkins. So in order to produce complete |
| 10 | # file, variables in {UPPERCASE} must be replaced to correct values. This |
| 11 | # file also includes references to ${UPPERCASE} which are just normal shell |
| 12 | # variables, replaced on spot. |
Leonardo Sandoval | d76d1e2 | 2020-10-06 16:02:52 -0500 | [diff] [blame] | 13 | |
Chris Kay | 3d80788 | 2022-08-31 16:00:02 +0100 | [diff] [blame] | 14 | ci_root="$(readlink -f "$(dirname "$0")/..")" |
| 15 | source "$ci_root/utils.sh" |
| 16 | |
Paul Sokolovsky | 2d4cfdb | 2021-11-16 17:28:10 +0300 | [diff] [blame] | 17 | . $(dirname $0)/gen_gerrit_meta.sh |
| 18 | |
Chris Kay | 3d80788 | 2022-08-31 16:00:02 +0100 | [diff] [blame] | 19 | expand_template "$(dirname "$0")/lava-templates/fvp-linux.yaml" |