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

Runner artifact cleanup #1438

Merged
merged 8 commits into from
Mar 22, 2023
Merged

Conversation

eamigo
Copy link
Contributor

@eamigo eamigo commented Feb 12, 2023

The artifact_dir was only deleted if --rac was set by the user.

This will now delete the entire temporary private_data_dir instead of just the artifacts_dir from the last run if the private_data_dir is a generated temp directory.

Related: #497
Closes: #520

@shatakshiiii shatakshiiii added the bug Researched, reproducible, committed to fix label Feb 16, 2023
@cidrblock
Copy link
Collaborator

cidrblock commented Mar 22, 2023

Approving this, although I'm going to leave #497 open because we really need to not be using __del__ as the cleanup mechanism bb/c it's not guaranteed to always run.

TY for this BTW!, sorry it took a bit to get reviewed

@cidrblock cidrblock merged commit cfbcba5 into ansible:main Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Researched, reproducible, committed to fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AR rotate artifats count does not work
4 participants