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 bc0e4807c add space release
bc0e4807c is described below
commit bc0e4807cad56966442f2e7b791727deabb263c7
Author: casionone <[email protected]>
AuthorDate: Tue May 30 18:30:06 2023 +0800
add space release
---
.github/workflows/integration-test.yml | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/integration-test.yml
b/.github/workflows/integration-test.yml
index b0f9f2285..7edc45fab 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -48,6 +48,26 @@ jobs:
HUB: ghcr.io/apache/linkis
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
- name: Checkout
uses: actions/checkout@v2
with:
@@ -72,12 +92,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- #https://github.com/actions/runner-images/issues/2875
- - name: Clean up and release space
- run:
- sudo rm -rf /usr/share/dotnet
- sudo rm -rf "$AGENT_TOOLSDIRECTORY"
-
- name: Build frontend by node.js
run: |
cd linkis-web
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]