diff --git a/.github/workflows/test-integration-skywalking-e2e.yml b/.github/workflows/test-integration-skywalking-e2e.yml index 034848ba..fb8a8786 100644 --- a/.github/workflows/test-integration-skywalking-e2e.yml +++ b/.github/workflows/test-integration-skywalking-e2e.yml @@ -39,6 +39,14 @@ jobs: docker rmi $(docker images -q) -f df -h + # the runner machine has a disk /dev/sdb1 which mounted to /mnt, and it has more free disk than /dev/sda1. + # we can use it to save docker's data to avoid bookie error due to lack of disk. + - name: change docker data dir + run: | + sudo service docker stop + echo '{ "exec-opts": ["native.cgroupdriver=cgroupfs"], "cgroup-parent": "/actions_job", "data-root": "/mnt/docker" }' | sudo tee /etc/docker/daemon.json + sudo service docker start + - name: Checkout uses: actions/checkout@v3 with: