This is an automated email from the ASF dual-hosted git repository.

laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new 7fe41d4bf chore(github): free disk space after packaging with jemalloc 
in github workflows (#1581)
7fe41d4bf is described below

commit 7fe41d4bfe046ad73c203c7f6dc208d2e4d22ef1
Author: Dan Wang <[email protected]>
AuthorDate: Fri Aug 11 14:46:37 2023 +0800

    chore(github): free disk space after packaging with jemalloc in github 
workflows (#1581)
    
    https://github.com/apache/incubator-pegasus/issues/1576
    
    In the workflow that builds pegasus with jemalloc, more space could be
    freed after packaging is tested.
---
 .github/workflows/lint_and_test_cpp.yaml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/lint_and_test_cpp.yaml 
b/.github/workflows/lint_and_test_cpp.yaml
index 38d8cc53f..115f8b124 100644
--- a/.github/workflows/lint_and_test_cpp.yaml
+++ b/.github/workflows/lint_and_test_cpp.yaml
@@ -410,6 +410,9 @@ jobs:
 #          path: |
 #            /github/home/.ccache
 #          key: ubsan_ccache
+#      - name: Free Disk Space (Ubuntu)
+#        run: |
+#          .github/workflows/free_disk_space.sh
 #      - uses: dorny/paths-filter@v2
 #        id: changes
 #        with:
@@ -591,9 +594,13 @@ jobs:
         run: |
           find ./build/latest/src/ -name '*CMakeFiles*' -type d -exec rm -rf 
"{}" +
       - name: Pack Server
-        run: ./run.sh pack_server -j
+        run: |
+          ./run.sh pack_server -j
+          rm -rf pegasus-server-*
       - name: Pack Tools
-        run: ./run.sh pack_tools -j
+        run: |
+          ./run.sh pack_tools -j
+          rm -rf pegasus-tools-*
       - name: Tar files
         run: |
           mv thirdparty/hadoop-bin ./


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to