From 9f32d813dfa5abc81f8416cd9bbe52407f7fef6b Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Mon, 3 Feb 2020 18:38:16 +0300 Subject: 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 --- tcwg-update-host-containers.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tcwg-update-host-containers.sh') 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 -- cgit v1.2.3