Kong / Kong/kubernetes-testing-framework
Delete temp files and directories in `install.sh` via `trap`
Open
- Dominant language
- Go
- Stars
- 44
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
can we delete the tempdir when done with it? maybe something along the lines of `trap rm -rv "$TEMPDIR" EXIT` ?
_Originally posted by @mflendrich in https://github.com/Kong/kubernetes-testing-framework/pull/516#discussion_r1094824680_
Contributor guide
Research direction
Open install.sh and trace where TEMPDIR is created and used. Implement cleanup on script exit with the proposed trap, then verify that the temporary directory is removed after normal and failing exits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100