summaryrefslogtreecommitdiff
path: root/tcwg-update-host-containers.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-02-03 18:38:16 +0300
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-02-04 11:08:41 +0300
commit9f32d813dfa5abc81f8416cd9bbe52407f7fef6b (patch)
treecb828b0b9457cdfb97c0b1058cc705df3b1fb399 /tcwg-update-host-containers.sh
parentcd12daec2dd11074b5168bb262df9a1501d75fb7 (diff)
tcwg-update-host-containers.sh: Rework
With switch to JNLP jenkins client we no longer need "jenkins" containers, so rework to handle "host" and "node" containers. Change-Id: Ideed8f38bce88519083cec809505f95e3007fcd8
Diffstat (limited to 'tcwg-update-host-containers.sh')
-rwxr-xr-xtcwg-update-host-containers.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tcwg-update-host-containers.sh b/tcwg-update-host-containers.sh
index 30ed40db..3abb684c 100755
--- a/tcwg-update-host-containers.sh
+++ b/tcwg-update-host-containers.sh
@@ -6,8 +6,8 @@ scripts=$(dirname $0)
. $scripts/jenkins-helpers.sh
convert_args_to_variables "$@"
-container="${container-jenkins}"
distro="${distro-xenial}"
+node="${node-host}"
group="${group-default}"
verbose="${verbose-true}"
@@ -19,15 +19,15 @@ image="linaro/ci-$(print_arch_for_host localhost)-tcwg-host-ubuntu:$distro"
if [ x"$group" = x"default" ]; then
group="all"
- if [ x"$container" = x"jenkins" ]; then
+ if [ x"$node" != x"host" ]; then
group="tcwg-infra"
fi
fi
$scripts/tcwg-start-container.sh \
- --container "$container" \
+ --container "$node" \
--image "$image" \
--keep_existing false \
--verbose "$verbose" \
-- \
- --task $container --verbose $verbose -- $image $group
+ --verbose $verbose -- $image $group $node