[CI] Prevent trap overwrite and safeguard delete_instance against gigantic logs
Description
- Adds a function
add_trapto ensure we can have multiple traps active at the same time - Adds a check in
delete_instance.shbefore the logs are collected to ensure we don't try to copy multiple gigs of logs.
Checklist
-
Documentation reflects the changes made. -
Merge Request title is clear, concise, and suitable as a changelog entry. See our contributing docs
References
Closes #1424 (closed)