Use persistent storage for containerbase binaries #3883
Labels
breaking
Breaking change, requires major version bump
priority-3-normal
Default priority, "should be done" but isn't prioritised ahead of others
status:requirements
Full requirements are not yet known, so implementation should not be started
type:feature
Feature (new functionality)
Currently the containerbase tmp dir is
/tmp/containerbase
.base/src/usr/local/containerbase/utils/constants.sh
Line 33 in bbd5b88
This affects execution duration for micro vms that use a rootfs based on containerbase and run Renovate, as this directory is deleted at boot time.
As per the Linux Foundation:
Filesystem Hierarchy Standard
:A suggested alternative location could be
/var/tmp
as it is preserved between boots.This change alone will improve
boot timesruntime duration by half a second per Renovate job. given the daily throughput, this improvement adds up significantly.Footnotes
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s18.html ↩
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s15.html ↩
The text was updated successfully, but these errors were encountered: