mirror of
https://github.com/microsoft/terminal.git
synced 2026-05-21 14:27:22 +00:00
Compare commits
6 Commits
dev/lhecke
...
dev/duhowe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40f6f17e07 | ||
|
|
a052a8033d | ||
|
|
2a2b6800c2 | ||
|
|
f4440eaa28 | ||
|
|
51ab0fee88 | ||
|
|
979049bd15 |
@@ -25,7 +25,7 @@ variables:
|
|||||||
extends:
|
extends:
|
||||||
template: templates-v2/pipeline-onebranch-full-release-build.yml
|
template: templates-v2/pipeline-onebranch-full-release-build.yml
|
||||||
parameters:
|
parameters:
|
||||||
official: true
|
official: false
|
||||||
branding: Canary
|
branding: Canary
|
||||||
buildTerminal: true
|
buildTerminal: true
|
||||||
pgoBuildMode: None # BODGY - OneBranch is on VS 17.10, which is known to be the worst
|
pgoBuildMode: None # BODGY - OneBranch is on VS 17.10, which is known to be the worst
|
||||||
@@ -44,6 +44,7 @@ extends:
|
|||||||
symbolExpiryTime: 15
|
symbolExpiryTime: 15
|
||||||
symbolPublishingSubscription: $(SymbolPublishingServiceConnection)
|
symbolPublishingSubscription: $(SymbolPublishingServiceConnection)
|
||||||
symbolPublishingProject: $(SymbolPublishingProject)
|
symbolPublishingProject: $(SymbolPublishingProject)
|
||||||
|
buildPlatforms: [x64]
|
||||||
${{ if eq(true, parameters.publishToAzure) }}:
|
${{ if eq(true, parameters.publishToAzure) }}:
|
||||||
extraPublishJobs:
|
extraPublishJobs:
|
||||||
- template: build/pipelines/templates-v2/job-deploy-to-azure-storage.yml@self
|
- template: build/pipelines/templates-v2/job-deploy-to-azure-storage.yml@self
|
||||||
|
|||||||
@@ -115,6 +115,10 @@ jobs:
|
|||||||
clean: true
|
clean: true
|
||||||
submodules: true
|
submodules: true
|
||||||
persistCredentials: 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.
|
# This generates either nothing for BuildTargetParameter, or /t:X;Y;Z, to control targets later.
|
||||||
- pwsh: |-
|
- pwsh: |-
|
||||||
|
|||||||
@@ -75,10 +75,9 @@ jobs:
|
|||||||
}
|
}
|
||||||
displayName: "Wrangle Unpackaged builds into place, rename"
|
displayName: "Wrangle Unpackaged builds into place, rename"
|
||||||
|
|
||||||
- powershell: |-
|
- template: steps-install-powershell-modules.yml
|
||||||
Get-PackageProvider -Name NuGet -ForceBootstrap
|
parameters:
|
||||||
Install-Module -Verbose -AllowClobber -Force Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute
|
modules: [Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute]
|
||||||
displayName: Install Azure Module Dependencies
|
|
||||||
|
|
||||||
- task: AzureFileCopy@6
|
- task: AzureFileCopy@6
|
||||||
displayName: Publish to Storage Account
|
displayName: Publish to Storage Account
|
||||||
|
|||||||
@@ -52,10 +52,9 @@ jobs:
|
|||||||
itemPattern: '**/*.pdb'
|
itemPattern: '**/*.pdb'
|
||||||
targetPath: '$(Build.SourcesDirectory)/bin'
|
targetPath: '$(Build.SourcesDirectory)/bin'
|
||||||
|
|
||||||
- powershell: |-
|
- template: steps-install-powershell-modules.yml
|
||||||
Get-PackageProvider -Name NuGet -ForceBootstrap
|
parameters:
|
||||||
Install-Module -Verbose -AllowClobber -Force Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute
|
modules: [Az.Accounts, Az.Storage, Az.Network, Az.Resources, Az.Compute]
|
||||||
displayName: Install Azure Module Dependencies
|
|
||||||
|
|
||||||
# Transit the Azure token from the Service Connection into a secret variable for the rest of the pipeline to use.
|
# Transit the Azure token from the Service Connection into a secret variable for the rest of the pipeline to use.
|
||||||
- task: AzurePowerShell@5
|
- 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