[MERGED] osmo-ci[master]: add docker-cleanup.sh script

2018-04-10 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: add docker-cleanup.sh script .. add docker-cleanup.sh script This script should be executed regularly on all build slaves that have docker in order to di

osmo-ci[master]: add docker-cleanup.sh script

2018-04-10 Thread Harald Welte
Patch Set 1: Code-Review+2 Verified+1 -- To view, visit https://gerrit.osmocom.org/7655 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I688b952578507a9cc28fe682221b5c7e3a245519 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ci Gerrit-Branch: mas

osmo-ci[master]: add docker-cleanup.sh script

2018-04-10 Thread Harald Welte
Patch Set 1: i've merely attached the script we use in production on the non-ansible nodes. pleas take it from here. -- To view, visit https://gerrit.osmocom.org/7655 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I688b952578507a9cc28fe

osmo-ci[master]: add docker-cleanup.sh script

2018-04-10 Thread lynxis lazus
Patch Set 1: Code-Review+1 (2 comments) LGTM. Some nitpicks. https://gerrit.osmocom.org/#/c/7655/1/scripts/docker-cleanup.sh File scripts/docker-cleanup.sh: PS1, Line 4: ` nitpicks: shellcheck says: - $() instead of ``. `` are legacy - \^osmocom-build could be replaced with ^osmocom-build PS

[PATCH] osmo-ci[master]: add docker-cleanup.sh script

2018-04-06 Thread Harald Welte
Review at https://gerrit.osmocom.org/7655 add docker-cleanup.sh script This script should be executed regularly on all build slaves that have docker in order to discard unused images/layers. It would be a good idea to call "fstrim /" afterwards in order to get more SSD performance. However, t