summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-03-01 17:53:50 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-03-01 21:04:13 +0100
commit5e39dc2f308c5773bef09111ca7b0fd3ffc63aee (patch)
tree6c29d185b7adcc9cd0d69a31a6179b8ef37fdb09 /.github
parentuser-record: Add preferredSession{Type,Launcher} (diff)
downloadsystemd-5e39dc2f308c5773bef09111ca7b0fd3ffc63aee.tar.xz
systemd-5e39dc2f308c5773bef09111ca7b0fd3ffc63aee.zip
CI: free up diskspace before mkosi jobs
The runner has a lot of useless things installed, taking ~10GB, and jobs have started to fail when booting images due to lack of disk space, so delete some directories to make room. 2024-02-27T20:20:58.0998709Z ##[warning]You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 0 MB Co-authored-by: Daan De Meyer <daan.j.demeyer@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/mkosi.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml
index bca6261cb3..3690f74d0d 100644
--- a/.github/workflows/mkosi.yml
+++ b/.github/workflows/mkosi.yml
@@ -78,6 +78,11 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: systemd/mkosi@070528fec478fc93af7ec057a5d2fd0045123c99
+ - name: Free disk space
+ run: |
+ sudo rm -rf /usr/local
+ sudo rm -rf /opt/hostedtoolcache
+
- name: Configure
run: |
tee mkosi.local.conf <<EOF