Fix caching in CI and some other optimizations
Merge request reports
Activity
mentioned in merge request !62 (closed)
@samthursfield I don't disagree :)
Out of interest, does buildstream have a mechanism to remove potentially stale artefacts to save disk space? I'm hitting errors from full disk, but wonder if this is because the runner is full of ybd cache.
It might be worth me setting up runners that are specifically for buildstream pipelines.
@samthursfield mmm, that can be a problem: the runners are persisting between builds so if a cleanup is not done automatically maybe we have to add a manual step for the bst pipelines
@jjardon Hence my thinking that we perhaps separate the instances for bst and ybd.
It's probably an hour's hack to get together a cache expiry script, it basically just needs to:
rm -Rf cache/build rm -R cache/logs rm -R artifacts/extract
and then the trickier part, enter the
artifacts/ostree
directly and useostree prune --keep-younger-than=DATE
to remove commits until there's enough disk space free again.added 1 commit
- d2b3fdc3 - Add some diagnostics to figure out disk space issues
added 1 commit
- 50672606 - Revert "Add some diagnostics to figure out disk space issues"
added 1 commit
- cb4317a4 - .gitlab-ci.yml: Fix BuildStream artifact cache configuration
added 1 commit
- 08c78676 - .gitlab-ci.yml: Don't remove YBD cache for bst-convert job
added 1 commit
- 712e8440 - .gitlab-ci.yml: Make the cache a hidden directory
added 1 commit
- 7ce5ccbb - gnu-toolchain: Specify environment when running ldconfig