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

mapohl pushed a commit to branch release-1.18
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 10c8943e49f324abb22c8254e415d9d666c3a6a3
Author: Matthias Pohl <[email protected]>
AuthorDate: Fri Feb 16 13:16:55 2024 +0100

    [FLINK-34418][ci] Mounts /mnt folder to /root
---
 .github/workflows/template.flink-ci.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.github/workflows/template.flink-ci.yml 
b/.github/workflows/template.flink-ci.yml
index ee7629e5acd..1ac63916ddd 100644
--- a/.github/workflows/template.flink-ci.yml
+++ b/.github/workflows/template.flink-ci.yml
@@ -177,6 +177,9 @@ jobs:
       # --init makes the process in the container being started as an init 
process which will clean up any daemon processes during shutdown
       # --privileged allows writing coredumps in docker (FLINK-16973)
       options: --init --privileged
+      # the /mnt folder is a separate disk mounted to the host filesystem with 
more free disk space that can be utilized
+      volumes:
+        - /mnt:/root
     env:
       # timeout in minutes - this environment variable is required by 
uploading_watchdog.sh
       GHA_JOB_TIMEOUT: 240
@@ -251,6 +254,17 @@ jobs:
           ${{ inputs.environment }} PROFILE="$PROFILE -Pgithub-actions" 
./tools/azure-pipelines/uploading_watchdog.sh \
               ./tools/ci/test_controller.sh ${{ matrix.module }}
 
+      - name: "Post-build Disk Info"
+        if: ${{ always() }}
+        shell: bash
+        run: df -h
+
+      - name: "Top 15 biggest directories in terms of used disk space"
+        if: ${{ always() }}
+        shell: bash
+        run: |
+          du -ah --exclude="proc" -t100M . | sort -h -r | head -n 15
+
       - name: "Post-process build artifacts"
         working-directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
         run: find ${{ steps.test-run.outputs.debug-files-output-dir }} -type f 
-exec rename 's/[:<>|*?]/-/' {} \;

Reply via email to