Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up work and artifact dirs on task claim? #487

Open
escapewindow opened this issue Feb 25, 2021 · 0 comments
Open

clean up work and artifact dirs on task claim? #487

escapewindow opened this issue Feb 25, 2021 · 0 comments

Comments

@escapewindow
Copy link
Contributor

Historically, we've created the work and artifact dirs on scriptworker startup, and assume the directories exist and are empty on task claim. This is efficient on docker instances where we don't expect anyone or anything to write to these directories.

On the mac signers, we sometimes ssh in and test something. We currently need to make sure we clean up after ourselves, or the next task that runs can be affected by leftover cruft in the work or artifact dirs. I'm happy with either deleting/recreating these directories on task claim everywhere; or creating a new pref and deleting/recreating if the pref is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant