mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 18:55:18 +01:00
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:
commit
34b7d9c647
1
.github/workflows/CI.yml
vendored
1
.github/workflows/CI.yml
vendored
@ -148,6 +148,7 @@ jobs:
|
||||
cd src/github.com/goharbor/harbor
|
||||
env
|
||||
df -h
|
||||
docker system prune -a -f
|
||||
bash ./tests/showtime.sh ./tests/ci/api_common_install.sh $IP DB
|
||||
- name: script
|
||||
run: |
|
||||
|
@ -4,7 +4,6 @@ set -x
|
||||
set +e
|
||||
sudo rm -fr /data/*
|
||||
sudo mkdir -p /data
|
||||
docker system prune -a -f
|
||||
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
|
||||
set -e
|
||||
@ -38,4 +37,4 @@ for((i=1;i<=30;i++)); do
|
||||
echo $i waiting 10 seconds...
|
||||
sleep 10
|
||||
curl -k -L -f 127.0.0.1/api/v2.0/systeminfo && break
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user