Cleanup the /tmp dir on deployment interrupt/finish
arm4b opened this issue · 0 comments
arm4b commented
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.