Skip to content

Commit 9a12577

Browse files
authored
Merge pull request #2619 from microsoftgraph/dev
dev
2 parents 6f1a7b2 + e8f8eba commit 9a12577

File tree

2 files changed

+34
-9
lines changed

2 files changed

+34
-9
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,22 @@ extends:
9999
arguments: '--configuration $(BuildConfiguration) --verbosity normal --no-build'
100100
- task: PowerShell@2
101101
displayName: 'Validate updated version'
102+
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
102103
inputs:
103104
targetType: filePath
104105
filePath: '$(Build.SourcesDirectory)\scripts\ValidateUpdatedNugetVersion.ps1'
105106
arguments: '-packageName "Microsoft.Graph" -projectPath "$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.csproj"'
106107
pwsh: true
107108
enabled: true
108-
- task: EsrpCodeSigning@3
109+
- task: EsrpCodeSigning@5
109110
displayName: 'ESRP DLL Strong Name (Microsoft.Graph)'
110111
inputs:
111-
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
112+
ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection'
113+
AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
114+
AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
115+
AuthAKVName: 'akv-prod-eastus'
116+
AuthCertName: 'ReferenceLibraryPrivateCert'
117+
AuthSignCertName: 'ReferencePackagePublisherCertificate'
112118
FolderPath: src/Microsoft.Graph/bin/release
113119
Pattern: Microsoft.Graph.dll
114120
signConfigType: inlineSignParams
@@ -130,10 +136,18 @@ extends:
130136
}
131137
]
132138
SessionTimeout: 20
133-
- task: EsrpCodeSigning@3
139+
MaxConcurrency: 50
140+
MaxRetryAttempts: 5
141+
PendingAnalysisWaitTimeoutMinutes: 5
142+
- task: EsrpCodeSigning@5
134143
displayName: 'ESRP DLL CodeSigning (Microsoft.Graph)'
135144
inputs:
136-
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
145+
ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection'
146+
AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
147+
AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
148+
AuthAKVName: 'akv-prod-eastus'
149+
AuthCertName: 'ReferenceLibraryPrivateCert'
150+
AuthSignCertName: 'ReferencePackagePublisherCertificate'
137151
FolderPath: src/Microsoft.Graph/bin/release
138152
Pattern: Microsoft.Graph.dll
139153
signConfigType: inlineSignParams
@@ -176,15 +190,23 @@ extends:
176190
}
177191
]
178192
SessionTimeout: 20
193+
MaxConcurrency: 50
194+
MaxRetryAttempts: 5
195+
PendingAnalysisWaitTimeoutMinutes: 5
179196
- powershell: |
180197
dotnet pack $env:BUILD_SOURCESDIRECTORY/src/Microsoft.Graph/Microsoft.Graph.csproj /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg --no-build --output $env:BUILD_ARTIFACTSTAGINGDIRECTORY --configuration $env:BUILD_CONFIGURATION
181198
env:
182199
BUILD_CONFIGURATION: $(BuildConfiguration)
183200
displayName: dotnet pack
184-
- task: EsrpCodeSigning@3
201+
- task: EsrpCodeSigning@5
185202
displayName: 'ESRP NuGet CodeSigning'
186203
inputs:
187-
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
204+
ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection'
205+
AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
206+
AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
207+
AuthAKVName: 'akv-prod-eastus'
208+
AuthCertName: 'ReferenceLibraryPrivateCert'
209+
AuthSignCertName: 'ReferencePackagePublisherCertificate'
188210
FolderPath: '$(Build.ArtifactStagingDirectory)'
189211
Pattern: '*nupkg'
190212
signConfigType: inlineSignParams
@@ -206,6 +228,9 @@ extends:
206228
}
207229
]
208230
SessionTimeout: 20
231+
MaxConcurrency: 50
232+
MaxRetryAttempts: 5
233+
PendingAnalysisWaitTimeoutMinutes: 5
209234
- task: CopyFiles@2
210235
displayName: 'Copy release scripts to artifact staging directory'
211236
inputs:

release-please-config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"bootstrap-sha": "1354831baeafb52965a8b2f5f80df5c43e414c99",
2+
"bootstrap-sha": "148f1ef380baedb27f7adb3c93b45f194f5c3e16",
33
"exclude-paths": [
44
".git",
55
".idea",
@@ -8,10 +8,10 @@
88
],
99
"release-type": "simple",
1010
"include-component-in-tag": false,
11-
"include-v-in-tag": true,
11+
"include-v-in-tag": false,
1212
"packages": {
1313
".": {
14-
"package-name": "src/Microsoft.Graph/",
14+
"package-name": "Microsoft.Graph",
1515
"changelog-path": "CHANGELOG.md",
1616
"extra-files": [
1717
"README.md",

0 commit comments

Comments
 (0)