Skip to content

Commit

Permalink
Add old bucket naming schemes to remove
Browse files Browse the repository at this point in the history
  • Loading branch information
stxue1 committed Sep 6, 2023
1 parent 10a2589 commit 211f514
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/admin/cleanup_aws_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def contains_toil_test_patterns(string):


def matches(resource_name):
if resource_name.endswith('--files') or resource_name.endswith('--jobs') or resource_name.endswith('_toil'):
if (resource_name.endswith('--files') or resource_name.endswith('--jobs') or resource_name.endswith('_toil')
or resource_name.endswith('--internal') or resource_name.startswith('toil-s3test-')):
if contains_toil_test_patterns(resource_name):
return resource_name

Expand Down

0 comments on commit 211f514

Please sign in to comment.