You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by wa...@apache.org on 2023/05/26 08:23:57 UTC

[incubator-pegasus] branch master updated: chore(github): remove directories and tarballs after packing server and tools for github actions in case of running out of disk space (#1486)

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

wangdan 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 86181aac9 chore(github): remove directories and tarballs after packing server and tools for github actions in case of running out of disk space (#1486)
86181aac9 is described below

commit 86181aac93de065dddb18589fab22dfa3a4f5ead
Author: Dan Wang <wa...@apache.org>
AuthorDate: Fri May 26 16:23:51 2023 +0800

    chore(github): remove directories and tarballs after packing server and tools for github actions in case of running out of disk space (#1486)
    
    https://github.com/apache/incubator-pegasus/issues/1485
    
    Github actions `Build Release` and `Build with jemalloc` failed for the branch
    `migrate-metrics-dev` due to running out of disk space. Both failed jobs would
    pack servers and tools while another successful job `Build ASAN` would never
    do.
    
    After packaging, generated directories and tarballs would consume 2.7GB disk
    space. Therefore, we could drop the generated directories and tarballs to spare
    more disk space after packaging, though this problem has not been found for
    master branch.
    
    This problem is also tracked by another PR:
            https://github.com/apache/incubator-pegasus/pull/1484
---
 .github/workflows/lint_and_test_cpp.yaml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/lint_and_test_cpp.yaml b/.github/workflows/lint_and_test_cpp.yaml
index 8b10be60f..bc68a7fc9 100644
--- a/.github/workflows/lint_and_test_cpp.yaml
+++ b/.github/workflows/lint_and_test_cpp.yaml
@@ -147,9 +147,13 @@ jobs:
           ./run.sh build --test --skip_thirdparty -j $(nproc) -t release
           ccache -s
       - name: Pack Server
-        run: ./run.sh pack_server
+        run: |
+          ./run.sh pack_server
+          rm -rf pegasus-server-*
       - name: Pack Tools
-        run: ./run.sh pack_tools
+        run: |
+          ./run.sh pack_tools
+          rm -rf pegasus-tools-*
       - name: Tar files
         run: |
           mv thirdparty/hadoop-bin ./


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pegasus.apache.org
For additional commands, e-mail: commits-help@pegasus.apache.org