ros-infrastructure / cookbook-ros-buildfarm

Apache License 2.0
2 stars 2 forks source link

Add Docker cleanup script. #40

Closed nuclearsandwich closed 3 years ago

nuclearsandwich commented 3 years ago

This script is less smart than the old docker cleanup script but is also a four line shell script. It will run on the hour and only clear docker images when necessary. As a tradeoff for simplicity it will clear everything that is not in active use.

nuclearsandwich commented 3 years ago

You might consider dropping some of the three consecutive empty lines being added to agent.rb, but LGTM other than that.

Done in an amended commit.