Merge pull request #12004 from danfengliu/move-docker-prune-outside

Move docker prune cmd outside of api common install shell script
This commit is contained in:
danfengliu 2020-05-22 14:06:42 +08:00 committed by GitHub
commit 34b7d9c647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -148,6 +148,7 @@ jobs:
cd src/github.com/goharbor/harbor cd src/github.com/goharbor/harbor
env env
df -h df -h
docker system prune -a -f
bash ./tests/showtime.sh ./tests/ci/api_common_install.sh $IP DB bash ./tests/showtime.sh ./tests/ci/api_common_install.sh $IP DB
- name: script - name: script
run: | run: |

View File

@ -4,7 +4,6 @@ set -x
set +e set +e
sudo rm -fr /data/* sudo rm -fr /data/*
sudo mkdir -p /data sudo mkdir -p /data
docker system prune -a -f
DIR="$(cd "$(dirname "$0")" && pwd)" DIR="$(cd "$(dirname "$0")" && pwd)"
set -e set -e