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 <ruife...@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:
    
![image](https://github.com/apache/spark/assets/7322292/dcd45849-4849-4e95-ae76-f5b7c80b19d3)
    
    after this PR:
    
![image](https://github.com/apache/spark/assets/7322292/042bda6d-43d6-42ea-9f53-abd57766ba99)
    
    ### 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 <ruife...@apache.org>
    Signed-off-by: Ruifeng Zheng <ruife...@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-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to