We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c23aa4c commit 6fe739aCopy full SHA for 6fe739a
src/ci/scripts/free-disk-space.sh
@@ -69,6 +69,11 @@ execAndMeasureSpaceChange() {
69
# Remove large packages
70
# REF: https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
71
cleanPackages() {
72
+ # Prevent npm from being removed.
73
+ # This command unfortunately also prevents npm from being updated,
74
+ # but it should be fine because we don't run `apt upgrade`.
75
+ sudo apt-mark hold npm
76
+
77
sudo apt-get -qq purge -y --autoremove --fix-missing \
78
'^aspnetcore-.*' \
79
'^dotnet-.*' \
0 commit comments