Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
111 stars 176 forks source link

[Stress Testing] Deleting fileshare #6164

Open l0lawrence opened 1 year ago

l0lawrence commented 1 year ago

Make a script that allows us to iterate through folders and delete fileshare files that we no longer want after we delete a namespace

richardpark-msft commented 1 year ago

Bonus points:

benbp commented 1 year ago

Thinking about this a little: This will get tricky after the fact, i.e. you've changed the structure of your tests so the naming is different, but you want to clear up old namespaces/pod directories. I would say we should write a metadata file out to the fileshare to aid in cleanup, but that would populate a lot of extra directories in the cases where people don't use the fileshare (this is why we don't auto-create the directory for you in the first place).