Skip to content

Commit 5278458

Browse files
committed
free up space on runner
1 parent 8463fab commit 5278458

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/s3-image-sync.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,21 @@ jobs:
8787
echo "TARGET_IMAGE=${TARGET_IMAGE}" >> "$GITHUB_ENV"
8888
shell: bash
8989

90+
- name: Clear up some space on runner
91+
run: |
92+
df -h
93+
sudo rm -rf /usr/share/dotnet
94+
sudo rm -rf /opt/ghc
95+
sudo rm -rf "/usr/local/share/boost"
96+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
97+
sudo apt-get clean
98+
df -h
99+
90100
- name: Download image to runner
91101
run: |
92102
. venv/bin/activate
93103
openstack image save --file "${{ env.TARGET_IMAGE }}.raw" "${{ env.TARGET_IMAGE }}"
104+
df -h
94105
shell: bash
95106

96107
- name: Convert image to QCOW2

0 commit comments

Comments
 (0)