summaryrefslogtreecommitdiff
path: root/tcwg-update-host-containers.sh
diff options
context:
space:
mode:
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