Skip to content

Commit

Permalink
Updating signing tasks to use .NET 6 (#25021)
Browse files Browse the repository at this point in the history
* Updating signing tasks to EsrpCodeSigning@3

* Updating .NET versions

* removing UseDotNet steps

* Restoring UseDotNet for linux builds
  • Loading branch information
Benjin authored Nov 23, 2023
1 parent d4fcf57 commit d3de6ea
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,7 @@ steps:
mv azuredatastudio-darwin-$(VSCODE_ARCH)-unsigned.zip azuredatastudio-darwin-$(VSCODE_ARCH).zip
displayName: 'Rename the file'
- task: UseDotNet@2
displayName: 'Install .NET Core sdk for signing'
inputs:
packageType: sdk
version: 2.1.x
installationPath: $(Agent.ToolsDirectory)/dotnet

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: EsrpCodeSigning@3
displayName: 'ESRP CodeSigning'
inputs:
ConnectedServiceName: 'Code Signing'
Expand All @@ -51,7 +44,7 @@ steps:
displayName: Clean Archive
condition: and(succeeded(), eq(variables['signed'], true))
- task: EsrpCodeSigning@1
- task: EsrpCodeSigning@3
displayName: 'ESRP Notarization'
inputs:
ConnectedServiceName: 'Code Signing'
Expand Down
6 changes: 3 additions & 3 deletions build/azure-pipelines/linux/sql-product-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,13 @@ steps:
condition: and(succeeded(), ne(variables['EXTENSIONS_ONLY'], 'true'))
- task: UseDotNet@2
displayName: 'Install .NET Core sdk for signing'
displayName: 'Install .NET SDK for signing'
inputs:
packageType: sdk
version: 5.0.x
version: 6.0.x
installationPath: $(Agent.ToolsDirectory)/dotnet

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: EsrpCodeSigning@3
inputs:
ConnectedServiceName: 'Code Signing'
FolderPath: '$(Build.SourcesDirectory)/.build'
Expand Down
6 changes: 3 additions & 3 deletions build/azure-pipelines/web/sql-product-build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ steps:
displayName: Build Rpm

- task: UseDotNet@2
displayName: 'Install .NET Core sdk for signing'
displayName: 'Install .NET SDK for signing'
inputs:
packageType: sdk
version: 5.0.x
version: 6.0.x
installationPath: $(Agent.ToolsDirectory)/dotnet

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: EsrpCodeSigning@3
inputs:
ConnectedServiceName: 'Code Signing'
FolderPath: '$(Build.SourcesDirectory)/.build'
Expand Down
4 changes: 2 additions & 2 deletions build/azure-pipelines/win32/sql-product-build-win32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ steps:
displayName: Run core integration tests (arm64)
condition: and(succeeded(), and(eq(variables['RUN_TESTS'], 'true'), eq(variables['VSCODE_ARCH'], 'arm64')))
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: EsrpCodeSigning@3
displayName: 'Sign out code'
inputs:
ConnectedServiceName: 'Code Signing'
Expand Down Expand Up @@ -236,7 +236,7 @@ steps:
exec { yarn gulp "vscode-win32-$(VSCODE_ARCH)-archive" }
displayName: Archive & User & System setup
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: EsrpCodeSigning@3
displayName: 'Sign installers'
inputs:
ConnectedServiceName: 'Code Signing'
Expand Down

0 comments on commit d3de6ea

Please sign in to comment.