Skip to content

Commit 440c0b1

Browse files
committed
[CI] Fixing CI script
1 parent e1d84a1 commit 440c0b1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scripts/github-actions/free-disk-space.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# Taken from https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
17+
1818
#
1919
# The Azure provided machines typically have the following disk allocation:
2020
# Total space: 85GB
@@ -33,7 +33,7 @@ echo "Listing 100 largest packages"
3333
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
3434
df -h
3535
echo "Removing large packages"
36-
# sudo apt-get remove -y '^dotnet-.*'
36+
sudo apt-get remove -y '^dotnet-.*'
3737
sudo apt-get remove -y '^llvm-.*'
3838
sudo apt-get remove -y 'php.*'
3939
sudo apt-get remove -y '^mongodb-.*'
@@ -42,13 +42,14 @@ sudo apt-get remove -y azure-cli google-cloud-sdk hhvm powershell mono-devel lib
4242
sudo apt-get autoremove -y
4343
sudo apt-get clean
4444
df -h
45+
4546
echo "Removing large directories"
4647

47-
# sudo rm -rf /usr/share/dotnet/
48+
sudo rm -rf /usr/share/dotnet/
4849
sudo rm -rf /usr/local/graalvm/
4950
sudo rm -rf /usr/local/.ghcup/
5051
sudo rm -rf /usr/local/share/powershell
5152
# sudo rm -rf /usr/local/share/chromium
5253
sudo rm -rf /usr/local/lib/android
53-
sudo rm -rf /usr/local/lib/node_modules
54+
# sudo rm -rf /usr/local/lib/node_modules
5455
df -h

0 commit comments

Comments
 (0)