diff --git a/packages/build/src/run-draft.spec.ts b/packages/build/src/run-draft.spec.ts index fb8a24dd7b..9d9a213652 100644 --- a/packages/build/src/run-draft.spec.ts +++ b/packages/build/src/run-draft.spec.ts @@ -68,15 +68,17 @@ describe('draft', () => { }); it('asks the notary service to sign files', () => { - expect(notarizeArtifact).to.have.been.callCount(ALL_BUILD_VARIANTS.length); + // expect(notarizeArtifact).to.have.been.callCount(ALL_BUILD_VARIANTS.length); }); it('uploads artifacts to download center', () => { - expect(uploadArtifactToDownloadCenter).to.have.been.callCount(ALL_BUILD_VARIANTS.length * 2); + expect(uploadArtifactToDownloadCenter).to.have.been.callCount(ALL_BUILD_VARIANTS.length); + // expect(uploadArtifactToDownloadCenter).to.have.been.callCount(ALL_BUILD_VARIANTS.length * 2); }); it('uploads the artifacts to the github release', () => { - expect(uploadReleaseAsset).to.have.been.callCount(ALL_BUILD_VARIANTS.length * 2); + expect(uploadReleaseAsset).to.have.been.callCount(ALL_BUILD_VARIANTS.length); + // expect(uploadReleaseAsset).to.have.been.callCount(ALL_BUILD_VARIANTS.length * 2); }); }); diff --git a/packages/build/src/run-draft.ts b/packages/build/src/run-draft.ts index 15a339f267..dcb731828e 100644 --- a/packages/build/src/run-draft.ts +++ b/packages/build/src/run-draft.ts @@ -44,6 +44,8 @@ export async function runDraft( tmpDir ); + /* + // pending https://jira.mongodb.org/browse/BUILD-14385 await notarizeArtifact( tarballFile.path, { @@ -53,10 +55,12 @@ export async function runDraft( } ); const signatureFile = tarballFile.path + '.sig'; + */ + void notarizeArtifact; await Promise.all([ [ downloadedArtifact, tarballFile.contentType ], - [ signatureFile, 'application/pgp-signature' ] + // [ signatureFile, 'application/pgp-signature' ] ].flatMap(([ path, contentType ]) => [ uploadToDownloadCenter( path,