@@ -57,10 +57,10 @@ extends:
5757 version : 8.x
5858
5959 # Install the nuget tool.
60- - task : NuGetToolInstaller@0
61- displayName : ' Use NuGet >=5.2 .0'
60+ - task : NuGetToolInstaller@1
61+ displayName : ' Use NuGet >=6.11 .0'
6262 inputs :
63- versionSpec : ' >=5.2 .0'
63+ versionSpec : ' >=6.11 .0'
6464 checkLatest : true
6565
6666 # Build the Product project
@@ -78,16 +78,17 @@ extends:
7878 projects : ' $(Build.SourcesDirectory)\Microsoft.OpenApi.sln'
7979 arguments : ' --configuration $(BuildConfiguration) --no-build'
8080
81- - task : EsrpCodeSigning@2
82- displayName : ' ESRP CodeSigning'
81+ - task : EsrpCodeSigning@5
82+ displayName : ' ESRP CodeSigning binaries '
8383 inputs :
84- ConnectedServiceName : ' microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
85- FolderPath : src
86- signConfigType : inlineSignParams
87- UseMinimatch : true
88- Pattern : |
89- **\*.exe
90- **\*.dll
84+ ConnectedServiceName : ' Federated DevX ESRP Managed Identity Connection'
85+ AppRegistrationClientId : ' 65035b7f-7357-4f29-bf25-c5ee5c3949f8'
86+ AppRegistrationTenantId : ' cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
87+ AuthAKVName : ' akv-prod-eastus'
88+ AuthCertName : ' ReferenceLibraryPrivateCert'
89+ AuthSignCertName : ' ReferencePackagePublisherCertificate'
90+ FolderPath : ' $(Build.SourcesDirectory)\src'
91+ signConfigType : ' inlineSignParams'
9192 inlineOperation : |
9293 [
9394 {
@@ -126,7 +127,10 @@ extends:
126127 "toolVersion": "1.0"
127128 }
128129 ]
129- SessionTimeout : 20
130+ SessionTimeout : ' 20'
131+ MaxConcurrency : ' 50'
132+ MaxRetryAttempts : ' 5'
133+ PendingAnalysisWaitTimeoutMinutes : ' 5'
130134
131135 # Pack core lib
132136 - pwsh : dotnet pack $(Build.SourcesDirectory)/src/Microsoft.OpenApi/Microsoft.OpenApi.csproj -o $(Build.ArtifactStagingDirectory) --configuration $(BuildConfiguration) --no-build --include-symbols --include-source /p:SymbolPackageFormat=snupkg
@@ -140,32 +144,39 @@ extends:
140144 - pwsh : dotnet pack $(Build.SourcesDirectory)/src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj -o $(Build.ArtifactStagingDirectory) --configuration $(BuildConfiguration) --no-build --include-symbols --include-source /p:SymbolPackageFormat=snupkg
141145 displayName : ' pack Hidi'
142146
143- - task : EsrpCodeSigning@2
147+ - task : EsrpCodeSigning@5
144148 displayName : ' ESRP CodeSigning Nuget Packages'
145149 inputs :
146- ConnectedServiceName : ' microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
150+ ConnectedServiceName : ' Federated DevX ESRP Managed Identity Connection'
151+ AppRegistrationClientId : ' 65035b7f-7357-4f29-bf25-c5ee5c3949f8'
152+ AppRegistrationTenantId : ' cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
153+ AuthAKVName : ' akv-prod-eastus'
154+ AuthCertName : ' ReferenceLibraryPrivateCert'
155+ AuthSignCertName : ' ReferencePackagePublisherCertificate'
147156 FolderPath : ' $(Build.ArtifactStagingDirectory)'
148157 Pattern : ' *.nupkg'
149- signConfigType : inlineSignParams
150- UseMinimatch : true
158+ signConfigType : ' inlineSignParams'
151159 inlineOperation : |
152160 [
153- {
154- "keyCode": "CP-401405",
155- "operationSetCode": "NuGetSign",
156- "parameters": [ ],
157- "toolName": "sign",
158- "toolVersion": "1.0"
159- },
160- {
161- "keyCode": "CP-401405",
162- "operationSetCode": "NuGetVerify",
163- "parameters": [ ],
164- "toolName": "sign",
165- "toolVersion": "1.0"
166- }
167- ]
168- SessionTimeout : 20
161+ {
162+ "keyCode": "CP-401405",
163+ "operationSetCode": "NuGetSign",
164+ "parameters": [ ],
165+ "toolName": "sign",
166+ "toolVersion": "1.0"
167+ },
168+ {
169+ "keyCode": "CP-401405",
170+ "operationSetCode": "NuGetVerify",
171+ "parameters": [ ],
172+ "toolName": "sign",
173+ "toolVersion": "1.0"
174+ }
175+ ]
176+ SessionTimeout : ' 60'
177+ MaxConcurrency : ' 50'
178+ MaxRetryAttempts : ' 5'
179+ PendingAnalysisWaitTimeoutMinutes : ' 5'
169180
170181 - task : PowerShell@2
171182 displayName : " Get Hidi's version-number from .csproj"
0 commit comments