bitops icon indicating copy to clipboard operation
bitops copied to clipboard

Cleanup the /tmp dir on deployment interrupt/finish

Open arm4b opened this issue 3 years ago • 0 comments

This was present in BitOps v1, but missing in v2.

The BitOps creates a temporary tmp dir and uses that as a working dir to avoid storing sensitive data in the shared ops repo. The code should catch the termination signals and cleanup the /tmp dir on both program interruption and deployment finish.

arm4b avatar Feb 09 '23 21:02 arm4b