mirror of
https://github.com/microsoft/terminal.git
synced 2026-04-07 06:39:44 +00:00
Compare commits
6 Commits
release-1.
...
dev/duhowe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40f6f17e07 | ||
|
|
a052a8033d | ||
|
|
2a2b6800c2 | ||
|
|
f4440eaa28 | ||
|
|
51ab0fee88 | ||
|
|
979049bd15 |
@@ -25,7 +25,7 @@ variables:
|
||||
extends:
|
||||
template: templates-v2/pipeline-onebranch-full-release-build.yml
|
||||
parameters:
|
||||
official: true
|
||||
official: false
|
||||
branding: Canary
|
||||
buildTerminal: true
|
||||
pgoBuildMode: None # BODGY - OneBranch is on VS 17.10, which is known to be the worst
|
||||
@@ -44,6 +44,7 @@ extends:
|
||||
symbolExpiryTime: 15
|
||||
symbolPublishingSubscription: $(SymbolPublishingServiceConnection)
|
||||
symbolPublishingProject: $(SymbolPublishingProject)
|
||||
buildPlatforms: [x64]
|
||||
${{ if eq(true, parameters.publishToAzure) }}:
|
||||
extraPublishJobs:
|
||||
- template: build/pipelines/templates-v2/job-deploy-to-azure-storage.yml@self
|
||||
|
||||
@@ -115,6 +115,10 @@ jobs:
|
||||
clean: true
|
||||
submodules: true
|
||||
persistCredentials: True
|
||||
- template: steps-install-powershell-modules.yml
|
||||
parameters:
|
||||
modules: [Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute]
|
||||
|
||||
|
||||
# This generates either nothing for BuildTargetParameter, or /t:X;Y;Z, to control targets later.
|
||||
- pwsh: |-
|
||||
|
||||
@@ -75,10 +75,9 @@ jobs:
|
||||
}
|
||||
displayName: "Wrangle Unpackaged builds into place, rename"
|
||||
|
||||
- powershell: |-
|
||||
Get-PackageProvider -Name NuGet -ForceBootstrap
|
||||
Install-Module -Verbose -AllowClobber -Force Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute
|
||||
displayName: Install Azure Module Dependencies
|
||||
- template: steps-install-powershell-modules.yml
|
||||
parameters:
|
||||
modules: [Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute]
|
||||
|
||||
- task: AzureFileCopy@6
|
||||
displayName: Publish to Storage Account
|
||||
|
||||
@@ -52,10 +52,9 @@ jobs:
|
||||
itemPattern: '**/*.pdb'
|
||||
targetPath: '$(Build.SourcesDirectory)/bin'
|
||||
|
||||
- powershell: |-
|
||||
Get-PackageProvider -Name NuGet -ForceBootstrap
|
||||
Install-Module -Verbose -AllowClobber -Force Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute
|
||||
displayName: Install Azure Module Dependencies
|
||||
- template: steps-install-powershell-modules.yml
|
||||
parameters:
|
||||
modules: [Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute]
|
||||
|
||||
# Transit the Azure token from the Service Connection into a secret variable for the rest of the pipeline to use.
|
||||
- task: AzurePowerShell@5
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
parameters:
|
||||
- name: modules
|
||||
type: object
|
||||
default: []
|
||||
|
||||
steps:
|
||||
- pwsh: |-
|
||||
Register-PSResourceRepository -Name TerminalDependencies -Uri https://pkgs.dev.azure.com/shine-oss/terminal/_packaging/TerminalDependencies/nuget/v2 -Trusted -ErrorAction:Ignore
|
||||
Install-PSResource -Repository TerminalDependencies -Name ${{ join(',',parameters.modules) }} -Debug -Verbose -Confirm:$false -AcceptLicense -TrustRepository -Reinstall
|
||||
displayName: Install Modules for PowerShell 7+
|
||||
|
||||
- powershell: |-
|
||||
Register-PSResourceRepository -Name TerminalDependencies -Uri https://pkgs.dev.azure.com/shine-oss/terminal/_packaging/TerminalDependencies/nuget/v2 -Trusted -ErrorAction:Ignore
|
||||
Install-PSResource -Repository TerminalDependencies -Name ${{ join(',',parameters.modules) }} -Debug -Verbose -Confirm:$false -AcceptLicense -TrustRepository -Reinstall
|
||||
displayName: Install Modules for PowerShell 5.1
|
||||
Reference in New Issue
Block a user