Skip to content

Commit

Permalink
Merge pull request #2619 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
baywet authored Aug 15, 2024
2 parents 6f1a7b2 + e8f8eba commit 9a12577
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 9 deletions.
37 changes: 31 additions & 6 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,22 @@ extends:
arguments: '--configuration $(BuildConfiguration) --verbosity normal --no-build'
- task: PowerShell@2
displayName: 'Validate updated version'
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
inputs:
targetType: filePath
filePath: '$(Build.SourcesDirectory)\scripts\ValidateUpdatedNugetVersion.ps1'
arguments: '-packageName "Microsoft.Graph" -projectPath "$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.csproj"'
pwsh: true
enabled: true
- task: EsrpCodeSigning@3
- task: EsrpCodeSigning@5
displayName: 'ESRP DLL Strong Name (Microsoft.Graph)'
inputs:
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection'
AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
AuthAKVName: 'akv-prod-eastus'
AuthCertName: 'ReferenceLibraryPrivateCert'
AuthSignCertName: 'ReferencePackagePublisherCertificate'
FolderPath: src/Microsoft.Graph/bin/release
Pattern: Microsoft.Graph.dll
signConfigType: inlineSignParams
Expand All @@ -130,10 +136,18 @@ extends:
}
]
SessionTimeout: 20
- task: EsrpCodeSigning@3
MaxConcurrency: 50
MaxRetryAttempts: 5
PendingAnalysisWaitTimeoutMinutes: 5
- task: EsrpCodeSigning@5
displayName: 'ESRP DLL CodeSigning (Microsoft.Graph)'
inputs:
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection'
AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
AuthAKVName: 'akv-prod-eastus'
AuthCertName: 'ReferenceLibraryPrivateCert'
AuthSignCertName: 'ReferencePackagePublisherCertificate'
FolderPath: src/Microsoft.Graph/bin/release
Pattern: Microsoft.Graph.dll
signConfigType: inlineSignParams
Expand Down Expand Up @@ -176,15 +190,23 @@ extends:
}
]
SessionTimeout: 20
MaxConcurrency: 50
MaxRetryAttempts: 5
PendingAnalysisWaitTimeoutMinutes: 5
- powershell: |
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
env:
BUILD_CONFIGURATION: $(BuildConfiguration)
displayName: dotnet pack
- task: EsrpCodeSigning@3
- task: EsrpCodeSigning@5
displayName: 'ESRP NuGet CodeSigning'
inputs:
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection'
AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
AuthAKVName: 'akv-prod-eastus'
AuthCertName: 'ReferenceLibraryPrivateCert'
AuthSignCertName: 'ReferencePackagePublisherCertificate'
FolderPath: '$(Build.ArtifactStagingDirectory)'
Pattern: '*nupkg'
signConfigType: inlineSignParams
Expand All @@ -206,6 +228,9 @@ extends:
}
]
SessionTimeout: 20
MaxConcurrency: 50
MaxRetryAttempts: 5
PendingAnalysisWaitTimeoutMinutes: 5
- task: CopyFiles@2
displayName: 'Copy release scripts to artifact staging directory'
inputs:
Expand Down
6 changes: 3 additions & 3 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"bootstrap-sha": "1354831baeafb52965a8b2f5f80df5c43e414c99",
"bootstrap-sha": "148f1ef380baedb27f7adb3c93b45f194f5c3e16",
"exclude-paths": [
".git",
".idea",
Expand All @@ -8,10 +8,10 @@
],
"release-type": "simple",
"include-component-in-tag": false,
"include-v-in-tag": true,
"include-v-in-tag": false,
"packages": {
".": {
"package-name": "src/Microsoft.Graph/",
"package-name": "Microsoft.Graph",
"changelog-path": "CHANGELOG.md",
"extra-files": [
"README.md",
Expand Down

0 comments on commit 9a12577

Please sign in to comment.