Skip to content

Commit

Permalink
[CI] Fixing CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Feb 22, 2023
1 parent e1d84a1 commit 440c0b1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/github-actions/free-disk-space.sh
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Taken from https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh

#
# The Azure provided machines typically have the following disk allocation:
# Total space: 85GB
Expand All @@ -33,7 +33,7 @@ echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
# sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y '^mongodb-.*'
Expand All @@ -42,13 +42,14 @@ sudo apt-get remove -y azure-cli google-cloud-sdk hhvm powershell mono-devel lib
sudo apt-get autoremove -y
sudo apt-get clean
df -h

echo "Removing large directories"

# sudo rm -rf /usr/share/dotnet/
sudo rm -rf /usr/share/dotnet/
sudo rm -rf /usr/local/graalvm/
sudo rm -rf /usr/local/.ghcup/
sudo rm -rf /usr/local/share/powershell
# sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/lib/node_modules
# sudo rm -rf /usr/local/lib/node_modules
df -h

0 comments on commit 440c0b1

Please sign in to comment.