mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 11:34:58 +02:00
Merge branch 'develop' of https://github.com/hcengineering/platform into staging-new
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: 'Free Space'
|
||||
description: 'Free up disk space by removing files and directories that are not needed for tests.'
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Free space
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Disk space before cleanup:"
|
||||
df -h
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
sudo rm -rf /usr/local/lib/android
|
||||
sudo rm -rf /usr/share/az_*
|
||||
sudo rm -rf /opt/az
|
||||
sudo rm -rf /usr/lib/google-cloud-sdk
|
||||
sudo rm -rf /opt/ghc
|
||||
sudo rm -rf "/usr/local/share/boost"
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||
echo "Disk space after cleanup:"
|
||||
df -h
|
||||
+15
-17
@@ -240,7 +240,8 @@ jobs:
|
||||
with:
|
||||
username: hardcoreeng
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
|
||||
- name: Free space
|
||||
uses: ./.github/actions/free-disk-space
|
||||
- name: Docker Build
|
||||
run: node common/scripts/install-run-rush.js docker
|
||||
env:
|
||||
@@ -371,7 +372,8 @@ jobs:
|
||||
with:
|
||||
username: hardcoreeng
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
|
||||
- name: Free space
|
||||
uses: ./.github/actions/free-disk-space
|
||||
- name: Docker Build
|
||||
run: node common/scripts/install-run-rush.js docker
|
||||
env:
|
||||
@@ -467,6 +469,8 @@ jobs:
|
||||
with:
|
||||
username: hardcoreeng
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
- name: Free space
|
||||
uses: ./.github/actions/free-disk-space
|
||||
- name: Docker Build
|
||||
run: node common/scripts/install-run-rush.js docker
|
||||
env:
|
||||
@@ -549,6 +553,8 @@ jobs:
|
||||
with:
|
||||
username: hardcoreeng
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
- name: Free space
|
||||
uses: ./.github/actions/free-disk-space
|
||||
- name: Docker Build
|
||||
run: node common/scripts/install-run-rush.js docker
|
||||
env:
|
||||
@@ -606,16 +612,13 @@ jobs:
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
|
||||
- name: Free disk space
|
||||
run: |
|
||||
echo "Disk space before cleanup:"
|
||||
df -h
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
sudo rm -rf /opt/ghc
|
||||
sudo rm -rf "/usr/local/share/boost"
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||
echo "Disk space after cleanup:"
|
||||
df -h
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
filter: tree:0
|
||||
submodules: recursive
|
||||
- name: Free space
|
||||
uses: ./.github/actions/free-disk-space
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Configure docker
|
||||
@@ -627,11 +630,6 @@ jobs:
|
||||
"containerd-snapshotter": true
|
||||
}
|
||||
}
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
filter: tree:0
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout init repository
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user