summaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-03-22 08:40:25 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-03-22 14:30:51 +0000
commit8f2393f9dfbbbcfac8bda35e279fd0024d0092c6 (patch)
tree8e1c6cb96cd155a336f158eca538cf7f29b30405 /tcwg-cleanup-stale-containers.sh
parent28611f0a7c709c885c1e92fcee677a9cdc6b9480 (diff)
start-container-docker.sh: Move workaround for dockerhub's limits
... to dockerfiles.git/tcwg-base/tcwg-host/docker-wrapper . Our workaround to dockerhub's pull limits in start-container-docker.sh works well, but with one exception -- it doesn't properly work when container is started on a remote host, which we do a lot in tcwg-benchmark-* jobs. To solve this we migrate workaround logic to docker wrapper script, and add a new docker command for it -- "maybepull". Change-Id: I131f1adc56052164a76c5dfaf9d07a4d2f24ec43
Diffstat (limited to 'tcwg-cleanup-stale-containers.sh')
-rwxr-xr-xtcwg-cleanup-stale-containers.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcwg-cleanup-stale-containers.sh b/tcwg-cleanup-stale-containers.sh
index 8cd201e2..e160337c 100755
--- a/tcwg-cleanup-stale-containers.sh
+++ b/tcwg-cleanup-stale-containers.sh
@@ -176,7 +176,8 @@ else
fi
if $cleanup_images; then
- # See start-container-docker.sh for background on image stamp files.
+ # See dockerfiles.git/tcwg-base/tcwg-host/docker-wrapper for background
+ # on image stamp files.
stamp_dir=/home/shared/docker
# Untag and prune images that haven't been used for 3 days or more.