This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev-1.4.0-integration-test2
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/dev-1.4.0-integration-test2 by
this push:
new 19303b1ea add space release
19303b1ea is described below
commit 19303b1eab4a5c9d319faf4b96f15a68366a8e77
Author: casionone <[email protected]>
AuthorDate: Tue May 30 18:33:28 2023 +0800
add space release
---
.github/workflows/integration-test.yml | 45 ++++++++++++++++++++--------------
1 file changed, 26 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/integration-test.yml
b/.github/workflows/integration-test.yml
index 7edc45fab..2ae831daf 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -49,25 +49,32 @@ jobs:
LINKIS_VERSION: 1.4.0-SNAPSHOT
steps:
- name: Free up disk space
- run: |
- #
https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
- # du -sh /* 2> /dev/null | sort -rh 2> /dev/null | head
- # du -h -d2 /usr 2> /dev/null | sort -rh 2> /dev/null | head
- echo $JAVA_HOME
- echo "Check free disk space before cleanup."
- df -h
- echo "Removing non-essential tools and libraries."
- sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- sudo rm -rf /opt/ghc
- sudo rm -rf /usr/share/dotnet
- sudo rm -rf /usr/local/share/boost
- # delete libraries for Android (12G), PowerShell (1.3G), Swift
(1.7G)
- sudo rm -rf /usr/local/lib/android
- sudo rm -rf /usr/local/share/powershell
- sudo rm -rf /usr/share/swift
- echo "Check free disk space after cleanup."
- df -h
- echo $JAVA_HOME
+ run: |
+ #
https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
+ # du -sh /* 2> /dev/null | sort -rh 2> /dev/null | head
+ # du -h -d2 /usr 2> /dev/null | sort -rh 2> /dev/null | head
+ echo $JAVA_HOME
+ echo "Check free disk space before cleanup."
+ df -h
+ echo "Removing non-essential tools and libraries."
+ sudo rm -rf "$AGENT_TOOLSDIRECTORY"
+ sudo rm -rf /opt/ghc
+ sudo rm -rf /usr/share/dotnet
+ sudo rm -rf /usr/local/share/boost
+ # delete libraries for Android (12G), PowerShell (1.3G), Swift (1.7G)
+ sudo rm -rf /usr/local/lib/android
+ sudo rm -rf /usr/local/share/powershell
+ sudo rm -rf /usr/share/swift
+ echo "Check free disk space after cleanup."
+ df -h
+ echo $JAVA_HOME
+ - name: Prune docker images
+ run: |
+ echo "Pruning docker images on GH action runner node"
+ docker image prune -a -f
+ docker system df
+ df -h
+
- name: Checkout
uses: actions/checkout@v2
with:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]