File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -68,15 +68,17 @@ describe('draft', () => {
68
68
} ) ;
69
69
70
70
it ( 'asks the notary service to sign files' , ( ) => {
71
- expect ( notarizeArtifact ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length ) ;
71
+ // expect(notarizeArtifact).to.have.been.callCount(ALL_BUILD_VARIANTS.length);
72
72
} ) ;
73
73
74
74
it ( 'uploads artifacts to download center' , ( ) => {
75
- expect ( uploadArtifactToDownloadCenter ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length * 2 ) ;
75
+ expect ( uploadArtifactToDownloadCenter ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length ) ;
76
+ // expect(uploadArtifactToDownloadCenter).to.have.been.callCount(ALL_BUILD_VARIANTS.length * 2);
76
77
} ) ;
77
78
78
79
it ( 'uploads the artifacts to the github release' , ( ) => {
79
- expect ( uploadReleaseAsset ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length * 2 ) ;
80
+ expect ( uploadReleaseAsset ) . to . have . been . callCount ( ALL_BUILD_VARIANTS . length ) ;
81
+ // expect(uploadReleaseAsset).to.have.been.callCount(ALL_BUILD_VARIANTS.length * 2);
80
82
} ) ;
81
83
} ) ;
82
84
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ export async function runDraft(
44
44
tmpDir
45
45
) ;
46
46
47
+ /*
48
+ // pending https://jira.mongodb.org/browse/BUILD-14385
47
49
await notarizeArtifact(
48
50
tarballFile.path,
49
51
{
@@ -53,10 +55,12 @@ export async function runDraft(
53
55
}
54
56
);
55
57
const signatureFile = tarballFile.path + '.sig';
58
+ */
59
+ void notarizeArtifact ;
56
60
57
61
await Promise . all ( [
58
62
[ downloadedArtifact , tarballFile . contentType ] ,
59
- [ signatureFile , 'application/pgp-signature' ]
63
+ // [ signatureFile, 'application/pgp-signature' ]
60
64
] . flatMap ( ( [ path , contentType ] ) => [
61
65
uploadToDownloadCenter (
62
66
path ,
You can’t perform that action at this time.
0 commit comments