Problem/Motivation
After #3232263: Cleanup file artefacts at the end of deployment instead of the start deleting or decommissioning a preview site build doesn't do anything because we no longer keep track of the atrifacts.
Proposed resolution
Delete everything under a preview site's prefix instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | interdiff-3236174-3-5.txt | 1.77 KB | acbramley |
| #5 | 3236174-5.patch | 3.3 KB | acbramley |
Comments
Comment #2
acbramley commentedComment #3
acbramley commentedThis swaps to an approach where we first list all objects under a prefix and then delete them all. There's no way I could find to delete everything under a "folder" or wildcarded delete.
Comment #4
larowlanI think this should be empty here to reflect the actual state of the build at this point.
This is why we didn't pick this up earlier, because I'm artificially ensuring there are artifacts
Comment #5
acbramley commentedComment #6
larowlanComment #7
larowlan