Skip to content

Commit

Permalink
[CI] Remove more folders and packages in free_space script (mlrun#2816)
Browse files Browse the repository at this point in the history
  • Loading branch information
alonmr authored Dec 26, 2022
1 parent 11ab2d8 commit c02789f
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions hack/ci/free-space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ print_free_space() {
print_free_space

# clean unneeded os packages and misc
sudo apt-get remove --yes '^dotnet-.*' 'php.*' azure-cli google-cloud-sdk google-chrome-stable firefox powershell
sudo apt-get remove -y '^ghc-8.*'
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y \
azure-cli \
google-cloud-sdk \
google-chrome-stable \
firefox \
powershell \
monodoc-http \
mono-devel

sudo apt-get autoremove --yes
sudo apt clean

Expand All @@ -31,8 +43,10 @@ sudo rm --recursive --force \
/usr/local/lib/android \
/usr/share/dotnet \
/usr/share/miniconda \
/usr/share/dotnet \
/usr/share/swift
/usr/share/swift \
/opt/ghc \
/usr/local/share/boost \
"$AGENT_TOOLSDIRECTORY"

# clean unneeded docker images
docker system prune --all --force
Expand Down

0 comments on commit c02789f

Please sign in to comment.