From: Luca Boccassi Date: Fri, 1 Mar 2024 16:53:50 +0000 (+0000) Subject: CI: free up diskspace before mkosi jobs X-Git-Tag: v256-rc1~681 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e39dc2f308c5773bef09111ca7b0fd3ffc63aee;p=thirdparty%2Fsystemd.git 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 --- diff --git a/.github/workflows/mkosi.yml b/.github/workflows/mkosi.yml index bca6261cb3a..3690f74d0d0 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 <