diff options
author | Tim Rozet <trozet@redhat.com> | 2018-10-10 14:27:28 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-10-10 14:27:28 -0400 |
commit | ba56b767edab4fb35b486166e6bba00fee675ad6 (patch) | |
tree | 0358c283764a9b6c554dfedb5aa9e7aadaaff03e /jjb | |
parent | 7502920ec103bc37abf4b7060957e55971b910d0 (diff) |
CPERF: Do not remove docker images in clean
Removing the cperf docker image in clean just adds more overhead to the
next cperf run, because the entire docker image has to be re-downloaded.
Docker pull will automatically download the difference between the old
image and the new image (less bandwidth) so there is no reason to remove
the image.
Change-Id: I79ba2af20e3bdacfedc28d468fb629e040d7098f
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/cperf/cperf-ci-jobs.yaml | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/jjb/cperf/cperf-ci-jobs.yaml b/jjb/cperf/cperf-ci-jobs.yaml index efcf51faa..61bdebd34 100644 --- a/jjb/cperf/cperf-ci-jobs.yaml +++ b/jjb/cperf/cperf-ci-jobs.yaml @@ -204,17 +204,6 @@ docker ps -a | grep opnfv/cperf | awk '{print $1}' | xargs docker rm -f >${redirect} fi - # Remove existing images if exist - if [[ ! -z $(docker images | grep opnfv/cperf) ]]; then - echo "Docker images to remove:" - docker images | head -1 && docker images | grep opnfv/cperf >${redirect} - image_tags=($(docker images | grep opnfv/cperf | awk '{print $2}')) - for tag in "${image_tags[@]}"; do - echo "Removing docker image opnfv/cperf:$tag..." - docker rmi opnfv/cperf:$tag >/dev/null - done - fi - - builder: name: cperf-upload-logs-csit builders: |