diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2022-05-24 11:48:05 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2022-05-24 14:46:58 +0000 |
commit | 5332ae28cf39bd7963574ba3b89913d7e38682e2 (patch) | |
tree | 5d0d8bdae46771ce2362d6a279e16e9b05546725 /tcwg-update-host-containers.sh | |
parent | 35947e857ccf9bf909f77b0483f5a9b09e6fc529 (diff) |
tcwg-start-container.sh: Move logic to test and recover docker service
... from bmk-scripts/prepare-board.sh . This logic will now
be triggered from tcwg-benchmark.sh -> tcwg-update-bmk-containers.sh
-> tcwg-start-container.sh .
This move will also allow to restart docker service on build servers.
Change-Id: If135764b6f841c2f6ffd055d3d5000132d217401
Diffstat (limited to 'tcwg-update-host-containers.sh')
-rwxr-xr-x | tcwg-update-host-containers.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tcwg-update-host-containers.sh b/tcwg-update-host-containers.sh index 514ceec4..4a0c27fd 100755 --- a/tcwg-update-host-containers.sh +++ b/tcwg-update-host-containers.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -ef -o pipefail +set -euf -o pipefail scripts=$(dirname $0) # shellcheck source=jenkins-helpers.sh @@ -11,12 +11,11 @@ distro="${distro-focal}" node="${node-host}" group="${group-default}" force="${force-false}" +test_docker="${test_docker-false}" verbose="${verbose-true}" bmk_host="${bmk_host-false}" additional_options="" -set -u - if $verbose; then set -x; fi image="linaro/ci-$(print_arch_for_host localhost)-tcwg-host-ubuntu:$distro" @@ -42,6 +41,7 @@ $scripts/tcwg-start-container.sh \ --container "$node" \ --image "$image" \ --keep_existing "$keep_existing" \ + --test_docker "$test_docker" \ --verbose "$verbose" \ --additional_options "$additional_options" \ -- \ |