David Caro has submitted this change and it was merged.

Change subject: Added workspace cleanup job
......................................................................


Added workspace cleanup job

Removes all the workspaces from all the slaves (even offline ones) that are not
currently used by any job.

It also cheks that there are no stalled mounts on the workspace and tries to
umount before deleting.

Added also a nice summary in case some of them failed to cleanup.

Change-Id: I97ad249a432129ca0f8b176d9fa8dbe6b1bfb5b5
Signed-off-by: David Caro <dcaro...@redhat.com>
---
A jobs/confs/groovy-scripts/cleanup_workspaces.groovy
A jobs/confs/groovy-scripts/cleanup_workspaces.postbuild.groovy
A jobs/confs/yaml/jobs/system/system_cleanup-workspaces.yaml
3 files changed, 202 insertions(+), 0 deletions(-)

Approvals:
  David Caro: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/34686
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I97ad249a432129ca0f8b176d9fa8dbe6b1bfb5b5
Gerrit-PatchSet: 6
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaro...@redhat.com>
Gerrit-Reviewer: Barak Korren <bkor...@redhat.com>
Gerrit-Reviewer: David Caro <dcaro...@redhat.com>
Gerrit-Reviewer: Eyal Edri <ee...@redhat.com>
Gerrit-Reviewer: Paz Dangur <pdan...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to