@@ -78,16 +78,18 @@ extends:
78
78
projects : ' $(Build.SourcesDirectory)\Microsoft.OpenApi.sln'
79
79
arguments : ' --configuration $(BuildConfiguration) --no-build'
80
80
81
- - task : EsrpCodeSigning@2
82
- displayName : ' ESRP CodeSigning'
81
+ - task : EsrpCodeSigning@5
83
82
inputs :
84
- ConnectedServiceName : ' microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
85
- FolderPath : src
86
- signConfigType : inlineSignParams
83
+ ConnectedServiceName : ' Federated DevX ESRP Managed Identity Connection'
84
+ AppRegistrationClientId : ' 65035b7f-7357-4f29-bf25-c5ee5c3949f8'
85
+ AppRegistrationTenantId : ' cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
86
+ AuthAKVName : ' akv-prod-eastus'
87
+ AuthCertName : ' ReferenceLibraryPrivateCert'
88
+ AuthSignCertName : ' ReferencePackagePublisherCertificate'
89
+ FolderPath : ' $(Build.SourcesDirectory)\src'
90
+ Pattern : ' *.dll'
87
91
UseMinimatch : true
88
- Pattern : |
89
- **\*.exe
90
- **\*.dll
92
+ signConfigType : ' inlineSignParams'
91
93
inlineOperation : |
92
94
[
93
95
{
@@ -126,7 +128,10 @@ extends:
126
128
"toolVersion": "1.0"
127
129
}
128
130
]
129
- SessionTimeout : 20
131
+ SessionTimeout : ' 20'
132
+ MaxConcurrency : ' 50'
133
+ MaxRetryAttempts : ' 5'
134
+ PendingAnalysisWaitTimeoutMinutes : ' 5'
130
135
131
136
# Pack core lib
132
137
- 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 +145,38 @@ extends:
140
145
- 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
141
146
displayName : ' pack Hidi'
142
147
143
- - task : EsrpCodeSigning@2
144
- displayName : ' ESRP CodeSigning Nuget Packages'
148
+ - task : EsrpCodeSigning@5
145
149
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'
147
156
FolderPath : ' $(Build.ArtifactStagingDirectory)'
148
157
Pattern : ' *.nupkg'
149
- signConfigType : inlineSignParams
150
- UseMinimatch : true
158
+ signConfigType : ' inlineSignParams'
151
159
inlineOperation : |
152
160
[
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'
169
180
170
181
- task : PowerShell@2
171
182
displayName : " Get Hidi's version-number from .csproj"
0 commit comments