Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Developer Infrastructure, lsstsw
-
Labels:None
-
Team:Architecture
Description
The rebuild script hard codes a path in /tmp for saving environments and does not clean up after itself. The script should switch to using mktemp to make a temporary location that will not collide with other users.
The blocking problem currently is that no one can build a stack on lsst-dev because the hard coded path is only writeable by one user.
This ticket should also implement the necessary logic to clean up the temporary location.
Attachments
Issue Links
- relates to
-
DM-18112 Update lsstsw in order to be able to deal with multiple environments
- Done
Thank you for spotting the problem.
I implemented the requested changes and made a couple of tests.
I don't see the PR linked to the issue still, so I put the link here just in case:
https://github.com/lsst/lsstsw/pull/236