Skip to content

Commit 81c7eab

Browse files
authored
Merge pull request #2141 from milvus-io/preview
Preview
2 parents 7e0ba34 + 356a537 commit 81c7eab

File tree

2 files changed

+46
-8
lines changed

2 files changed

+46
-8
lines changed

.github/workflows/master_aws.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,18 @@ jobs:
2222
cancel-in-progress: true
2323

2424
steps:
25-
- name: Free up disk space (fast)
25+
- name: Free up disk space (comprehensive)
2626
run: |
27+
echo "=== Before cleanup ==="
28+
df -h /
29+
30+
# Essential cleanup for GitHub Actions runner
2731
sudo rm -rf /usr/share/dotnet || true
28-
df -h
32+
sudo rm -rf /usr/local/lib/android || true
33+
34+
echo "=== After cleanup ==="
35+
df -h /
36+
echo "Root filesystem available: $(df -h / | awk 'NR==2{print $4}')"
2937
3038
- uses: azure/docker-login@v1
3139
with:
@@ -61,6 +69,17 @@ jobs:
6169
git submodule init
6270
git submodule update --remote
6371
72+
- name: Check disk space after submodule update
73+
run: |
74+
echo "=== Disk Space Information ==="
75+
df -h
76+
echo ""
77+
echo "=== Disk Usage Summary ==="
78+
df -h --total | grep total
79+
echo ""
80+
echo "=== Available Space on Root Filesystem ==="
81+
df -h / | awk 'NR==2{printf "Total: %s, Used: %s, Available: %s, Usage: %s\n", $2, $3, $4, $5}'
82+
6483
- name: Clean up unnecessary version folders
6584
run: |
6685
# Remove old version folders from /docs/localization/

.github/workflows/preview_aws.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,30 @@ on:
1010
workflow_dispatch:
1111

1212
env:
13-
NODE_OPTIONS: "--max_old_space_size=8192"
13+
NODE_OPTIONS: '--max_old_space_size=8192'
1414

1515
jobs:
1616
build:
17-
runs-on: "ubuntu-latest"
17+
runs-on: 'ubuntu-latest'
1818
outputs:
1919
docker-image-tag: ${{ steps.generate-tag-name.outputs.docker_tag }}
2020
concurrency:
2121
group: ${{ github.workflow }}-${{ github.ref }}
2222
cancel-in-progress: true
2323

2424
steps:
25-
- name: Free up disk space (fast)
25+
- name: Free up disk space (comprehensive)
2626
run: |
27+
echo "=== Before cleanup ==="
28+
df -h /
29+
30+
# Essential cleanup for GitHub Actions runner
2731
sudo rm -rf /usr/share/dotnet || true
28-
df -h
32+
sudo rm -rf /usr/local/lib/android || true
33+
34+
echo "=== After cleanup ==="
35+
df -h /
36+
echo "Root filesystem available: $(df -h / | awk 'NR==2{print $4}')"
2937
3038
- uses: azure/docker-login@v1
3139
with:
@@ -34,7 +42,7 @@ jobs:
3442

3543
- uses: actions/checkout@v3
3644
with:
37-
ref: "preview"
45+
ref: 'preview'
3846
fetch-depth: 1
3947

4048
- name: Verify Nginx configuration
@@ -54,14 +62,25 @@ jobs:
5462
- name: Setup Node.js
5563
uses: actions/setup-node@v2
5664
with:
57-
node-version: "22"
65+
node-version: '22'
5866

5967
- name: update submodules from preview branch
6068
run: |
6169
git submodule init
6270
git submodule set-branch --branch preview -- src/docs
6371
git submodule update --remote
6472
73+
- name: Check disk space after submodule update
74+
run: |
75+
echo "=== Disk Space Information ==="
76+
df -h
77+
echo ""
78+
echo "=== Disk Usage Summary ==="
79+
df -h --total | grep total
80+
echo ""
81+
echo "=== Available Space on Root Filesystem ==="
82+
df -h / | awk 'NR==2{printf "Total: %s, Used: %s, Available: %s, Usage: %s\n", $2, $3, $4, $5}'
83+
6584
- name: Clean up unnecessary version folders
6685
run: |
6786
# Remove old version folders from /docs/localization/

0 commit comments

Comments
 (0)