File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed
Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,8 @@ jobs:
198198 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
199199 with :
200200 submodules : ' recursive'
201+ - name : Free Disk Space
202+ run : ./ci/free_disk_space.sh
201203 - name : Install Conan
202204 run : |
203205 python3 -m pip install pip==25.0.1
@@ -235,6 +237,8 @@ jobs:
235237 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
236238 with :
237239 submodules : ' recursive'
240+ - name : Free Disk Space
241+ run : ./ci/free_disk_space.sh
238242 - name : Install Conan
239243 run : |
240244 python3 -m pip install pip==25.0.1
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ Increment the:
4242* [ CONFIGURATION] File configuration - console metric exporter
4343 [ #3734 ] ( https://github.com/open-telemetry/opentelemetry-cpp/pull/3734 )
4444
45+ * [ CI] Free disk space
46+ [ #3749 ] ( https://github.com/open-telemetry/opentelemetry-cpp/pull/3749 )
47+
4548New Features:
4649
4750* [ CONFIGURATION] Implement declarative configuration (config.yaml)
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Copyright The OpenTelemetry Authors
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ # Work around for:
7+ # https://github.com/actions/runner-images/issues/13189
8+
9+ # Adapted from:
10+ # https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
11+
12+ echo " =============================================================================="
13+ echo " Freeing up disk space on CI system"
14+ echo " =============================================================================="
15+
16+ # BEFORE:
17+ # Size: 72G
18+ # Used: 53G
19+ # Available: 19G
20+
21+ df -h
22+ echo " Removing large directories"
23+
24+ sudo rm -rf /usr/share/dotnet/
25+ sudo rm -rf /usr/local/graalvm/
26+ sudo rm -rf /usr/local/.ghcup/
27+ sudo rm -rf /usr/local/share/powershell
28+ sudo rm -rf /usr/local/share/chromium
29+ sudo rm -rf /usr/local/lib/android
30+ sudo rm -rf /usr/local/lib/node_modules
31+
32+ # AFTER:
33+ # Size: 72G
34+ # Used: 29G
35+ # Available: 44G
36+
37+ df -h
38+
You can’t perform that action at this time.
0 commit comments