cleanup artifact handlers hanging node process

This commit is contained in:
Rob Herley
2023-12-06 23:42:07 +00:00
committed by GitHub
parent 207747e7af
commit 715b1acc05
2 changed files with 14 additions and 11 deletions

View File

@@ -40,11 +40,6 @@ export async function uploadArtifact(
)
}
const zipUploadStream = await createZipUploadStream(
zipSpecification,
options?.compressionLevel
)
// get the IDs needed for the artifact creation
const backendIds = getBackendIdsFromToken()
@@ -73,6 +68,11 @@ export async function uploadArtifact(
)
}
const zipUploadStream = await createZipUploadStream(
zipSpecification,
options?.compressionLevel
)
// Upload zip to blob storage
const uploadResult = await uploadZipToBlobStorage(
createArtifactResp.signedUploadUrl,