You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ru...@apache.org on 2023/08/04 07:35:47 UTC
[spark] branch master updated: [SPARK-44618][INFRA] Uninstall CodeQL/Go/Node in non-container jobs
This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new e4bae48d5aa [SPARK-44618][INFRA] Uninstall CodeQL/Go/Node in non-container jobs
e4bae48d5aa is described below
commit e4bae48d5aa38f98bf9f62724a2ce8111ab2ca5e
Author: Ruifeng Zheng <ru...@apache.org>
AuthorDate: Fri Aug 4 15:35:29 2023 +0800
[SPARK-44618][INFRA] Uninstall CodeQL/Go/Node in non-container jobs
### What changes were proposed in this pull request?
Uninstall CodeQL/Go/Node in non-container jobs
### Why are the changes needed?
it can save 10G disk space
before this PR:

after this PR:

### Does this PR introduce _any_ user-facing change?
no, infra-only
### How was this patch tested?
updated CI
Closes #42333 from zhengruifeng/infra_uninstall_codeql.
Authored-by: Ruifeng Zheng <ru...@apache.org>
Signed-off-by: Ruifeng Zheng <ru...@apache.org>
---
dev/free_disk_space | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev/free_disk_space b/dev/free_disk_space
index 87a09a524f4..2b2b20f814e 100755
--- a/dev/free_disk_space
+++ b/dev/free_disk_space
@@ -34,7 +34,11 @@ 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 /opt/az
+sudo rm -rf /opt/hostedtoolcache/CodeQL
+sudo rm -rf /opt/hostedtoolcache/go
+sudo rm -rf /opt/hostedtoolcache/node
sudo apt-get remove --purge -y '^aspnet.*'
sudo apt-get remove --purge -y '^dotnet-.*'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org