Skip to content

Commit

Permalink
github: bitbake in stages to preserve disk space
Browse files Browse the repository at this point in the history
We only have 14Gb [1] of disk and 'rm_work' isn't removing enough to
keep us under that limit.  So, bitbake in stages and wipe tmp/ in between
in an effort to preserve disk.

1. https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

Signed-off-by: Justin Bronder <[email protected]>
  • Loading branch information
jsbronder committed Nov 5, 2024
1 parent 0379cb1 commit 77a5aea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,13 @@ jobs:
else
echo 'DISTRO_FEATURES += "openrc"' >> conf/local.conf
fi
- name: Build operc image
- name: Build openrc image
run: |
source poky/oe-init-build-env build
# Build in stages so we can wipe tmp in between to stay under the
# 14Gb of disk Github gives us. rm_work isn't sufficient.
bitbake openrc
rm -rf tmp/
bitbake openrc-image
- name: Prune Shared-State Cache and tmpdir
if: always()
Expand Down

0 comments on commit 77a5aea

Please sign in to comment.