Skip to content

Commit

Permalink
[FLINK-34418][ci] Mounts /mnt folder to /root
Browse files Browse the repository at this point in the history
  • Loading branch information
XComp committed Feb 19, 2024
1 parent 39a2043 commit 10c8943
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/template.flink-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/[:<>|*?]/-/' {} \;
Expand Down

0 comments on commit 10c8943

Please sign in to comment.