SE-PRG/azmitool

add clean-up script for build machine

Aperta

#216 aperta il 20 ott 2020

 (0 commenti) (0 reazioni) (0 assegnatari)C# (5 fork)auto 404
good first issuetesting

Metriche repository

Star
 (2 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Build machine is getting disk full from time to time. The biggest problem is this directory: /home/builder/cache_dotnet_bundle_extract/azmi

Write some short script, like:

df -h
du <cachefolder>
if [[ "$(pipeline_variable)" == "delete" ]]; then rm -rf <cachefolder>; fi

df
du

And schedule is at pipeline

Guida contributor