SE-PRG/azmitool

add clean-up script for build machine

Open

#216 opened on Oct 20, 2020

 (0 comments) (0 reactions) (0 assignees)C# (5 forks)auto 404
good first issuetesting

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide