butido icon indicating copy to clipboard operation
butido copied to clipboard

Cleanup running containers on the Control-C signal

Open ammernico opened this issue 1 year ago • 1 comments

  • Add the signal feature to tokio to interrupt and handle the Control-C signal in Butido.
  • Add Control-C signal handling into the Orchestrator.
  • Implement Drop on the JobHandle to ensure container cleanup.

This is a working draft pr for testing purposes and still missing some features.

ammernico avatar Sep 25 '24 16:09 ammernico

Tested while multiple containers were running on all build hosts. All containeres were successfully stopped after just a few seconds. Nice! :)

christophprokop avatar Sep 26 '24 14:09 christophprokop