Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/ci-prerequisites.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Reclaim disk space, otherwise we only have 13 GB free at the start of a job

echo 'Before the cleanup:'
df -h
# Remove the container images for node:
docker rmi node:10 node:12 mcr.microsoft.com/azure-pipelines/node8-typescript:latest
echo 'Docker images (available for possible removal):'
docker images
# That is 18 GB
sudo rm -rf /usr/share/dotnet
# That is 1.2 GB
sudo rm -rf /usr/share/swift
sudo rm -rf /usr/share/swift

echo 'After the cleanup:'
df -h
Loading