Skip to content

Commit c51b985

Browse files
mads-hartmannroboquat
authored andcommitted
Add comment
1 parent ad31e87 commit c51b985

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.werft/platform-delete-preview-environments-cron.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ async function removePreviewEnvironment(previewNamespace: string) {
127127
werft.log(sliceID, `Starting deletion of all resources related to ${previewNamespace}`)
128128
try {
129129
const previewDNSName = previewNamespace.replace('staging-', '')
130+
131+
// We're running these promises sequentially to make it easier to read the log output.
130132
await removeCertificate(previewNamespace, CORE_DEV_KUBECONFIG_PATH, sliceID)
131133
await removeStagingDNSRecord(previewDNSName, sliceID)
132134
await removePreviewDNSRecord(previewDNSName, sliceID)

0 commit comments

Comments
 (0)