Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: acbramley at PreviousNext for Service NSW commentedComment #3
acbramley CreditAttribution: acbramley at PreviousNext for Service NSW 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 CreditAttribution: acbramley at PreviousNext for Service NSW commentedComment #6
larowlanComment #7
larowlan