mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-10 12:40:19 +01:00
Move docker prune cmd outside of api common install shell script
Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
parent
2ff0638f8b
commit
ba48e55e4e
1
.github/workflows/CI.yml
vendored
1
.github/workflows/CI.yml
vendored
@ -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: |
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user