diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-01-20 13:18:02 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-01-20 13:29:24 +0000 |
commit | 17a3185d1f674ad12e04b2eb1c3024f55768cd7c (patch) | |
tree | 6796f7fb31e6199dbc54d8e8104608b3a909c7f2 | |
parent | f7e8218a73db5f4177ef8d3389bda6476be5bab9 (diff) |
start-container-docker.sh: Add "lts" and "lts_1" values to --distro parameter
... which will be used in various CI loops to identify latest and latest-1
Ubuntu LTS releases. Presumably we will build and test master branches
using latest LTS releases, and build and test stable release branches
using LTS-1 releases.
Change-Id: I0bd8dd5c8fcf5cac650fc76f8e995d7799c722fb
-rwxr-xr-x | start-container-docker.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/start-container-docker.sh b/start-container-docker.sh index 179a5ac4..61cc9933 100755 --- a/start-container-docker.sh +++ b/start-container-docker.sh @@ -209,9 +209,11 @@ if [ x"$session_name" = x ]; then session_name=$(print_docker_name "$session_name") fi -if [ x"$distro" = x"default" ]; then - distro="bionic" -fi +# Resolve LTS and LTS-1 values to Ubuntu distros. +case "$distro" in + lts_1|default) distro=bionic ;; + lts) distro=focal ;; +esac image=linaro/ci-${container_arch}-tcwg-build-ubuntu:${distro} |