You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by eo...@apache.org on 2019/07/19 15:48:45 UTC

[bookkeeper] branch master updated: [CI] Prune networks older than 12h

This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new b182b74  [CI] Prune networks older than 12h
b182b74 is described below

commit b182b7478687328126a6aced27d5359fdf280e5c
Author: Ivan Kelly <iv...@apache.org>
AuthorDate: Fri Jul 19 16:48:40 2019 +0100

    [CI] Prune networks older than 12h
    
    Previously we were using a filter which matched on the network name of
    the networks we create. However, docker seems to have removed this
    functionality, so now we just prune all unused networks which are more
    than 12h old (no CI job should be taking more than 12h).
    
    
    Reviewers: Enrico Olivelli <eo...@gmail.com>
    
    This closes #2126 from ivankelly/ci-failure
---
 .test-infra/scripts/pre-docker-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.test-infra/scripts/pre-docker-tests.sh b/.test-infra/scripts/pre-docker-tests.sh
index 65fac8a..d2c812a 100755
--- a/.test-infra/scripts/pre-docker-tests.sh
+++ b/.test-infra/scripts/pre-docker-tests.sh
@@ -28,6 +28,6 @@ ps -eo euser,pid,ppid,pgid,start,pcpu,pmem,cmd
 docker info
 docker system prune -f
 # clean up any dangling networks from previous runs
-docker network prune -f --filter name=testnetwork_*
+docker network prune -f --filter "until=12h"
 docker system events > docker.debug-info & echo $! > docker-log.pid
 docker pull quay.io/coreos/etcd:v3.3