diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-02-03 18:38:16 +0300 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-02-04 11:08:41 +0300 |
commit | 9f32d813dfa5abc81f8416cd9bbe52407f7fef6b (patch) | |
tree | cb828b0b9457cdfb97c0b1058cc705df3b1fb399 /tcwg-update-host-containers.sh | |
parent | cd12daec2dd11074b5168bb262df9a1501d75fb7 (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-x | tcwg-update-host-containers.sh | 8 |
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 |