Chris Kay | 7c542f2 | 2022-11-18 11:42:59 +0000 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # Copyright (c) 2022, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | # |
| 9 | # Environmental settings for the OpenCI infrastructure. |
| 10 | # |
| 11 | |
| 12 | nfs_volume="${WORKSPACE:?}/nfs" |
Arthur She | 0d997d0 | 2025-02-03 21:39:57 -0800 | [diff] [blame] | 13 | jenkins_url="${JENKINS_PUBLIC_URL}" |
Saheer Babu | ee6788f | 2025-02-10 17:49:12 +0000 | [diff] [blame] | 14 | tfa_downloads="${DOWNLOAD_SERVER_URL}/tf-a" |
Arthur She | eb0f610 | 2023-07-08 09:54:57 -0700 | [diff] [blame] | 15 | ci_env="openci" |
Arthur She | 5753b6d | 2025-01-19 21:30:39 -0800 | [diff] [blame] | 16 | |
| 17 | tfa_branch=${TF_GERRIT_BRANCH##*/} |
| 18 | if echo $tfa_branch | grep -q "^lts-v"; then |
| 19 | # LTS branch, change the download space to the respective one |
Saheer Babu | ee6788f | 2025-02-10 17:49:12 +0000 | [diff] [blame] | 20 | tfa_downloads="${DOWNLOAD_SERVER_URL}/tf-a-$tfa_branch" |
Arthur She | 5753b6d | 2025-01-19 21:30:39 -0800 | [diff] [blame] | 21 | fi |