Skip to content

Commit fecfdff

Browse files
nikhil-ctdssrinath-ctds
authored andcommitted
Revert "[fix][ci] Configure Docker data-root to /mnt/docker to avoid running out of disk space (apache#23909)"
This reverts commit f58ea21.
1 parent e3774d7 commit fecfdff

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.github/actions/clean-disk/action.yml

-9
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,6 @@ runs:
4646
time df -BM / /mnt
4747
echo "::endgroup::"
4848
done
49-
if [[ "${{ inputs.mode }}" == "full" ]]; then
50-
echo "::group::Moving /var/lib/docker to /mnt/docker"
51-
sudo systemctl stop docker
52-
echo '{"data-root": "/mnt/docker"}' | sudo tee /etc/docker/daemon.json
53-
sudo mv /var/lib/docker /mnt/docker
54-
sudo systemctl start docker
55-
time df -BM / /mnt
56-
echo "::endgroup::"
57-
fi
5849
echo "::group::Cleaning apt state"
5950
time sudo bash -c "apt-get clean; apt-get autoclean; apt-get -y --purge autoremove"
6051
time df -BM / /mnt

0 commit comments

Comments
 (0)