Closed cherylking closed 1 year ago
Guess an option would be to only include the GHA disk free action and keep streamLogs=true...
Yeah, I think we should give this a try and see if we like it. At least locally, I love having streamLogsOnFailures=true instead of streamLogs. On the builds, it may be preferred to still have streamLogs=true. The yaml can override what is in the pom.xml. We can change the setting back in the yaml if we decide it is more useful later.
Recently we began running out of disk space on at least half the Linux jobs in each GHA build.
1) Changed
streamLogs
tostreamLogsOnFailures
to reduce log size. 2) Used GHA actionjlumbroso/free-disk-space@main
to free up some disk space before each job runs on Ubuntu.I checked one of the Linux jobs and saw that the free-disk-space action freed up 18 GB. It started with 21 GB free and had 39 GB free after the action ran.