SBOM-Use 1ES hosted agent pool for builds (#759)
Using 1ES Hosted agent pools for builds to adhere with execute order compliance requirements.
This commit is contained in:
Родитель
e41a647af8
Коммит
bff3f30d31
|
@ -6,7 +6,8 @@ parameters:
|
|||
jobs:
|
||||
- job: "Build_And_Test_Windows"
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
name: '1ES-Hosted-AzFunc'
|
||||
vmImage: 'MMS2022TLS'
|
||||
|
||||
variables:
|
||||
- template: extensions-variables.yml
|
||||
|
|
|
@ -18,7 +18,8 @@ pr:
|
|||
jobs:
|
||||
- job: "Build_And_Test_Windows"
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
name: '1ES-Hosted-AzFunc'
|
||||
vmImage: 'MMS2022TLS'
|
||||
|
||||
variables:
|
||||
${{ if not(contains(variables['Build.SourceBranch'], '/release/' )) }}:
|
||||
|
@ -215,7 +216,8 @@ jobs:
|
|||
|
||||
- job: "E2ETests_Ubuntu"
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
name: '1ES-Hosted-AzFunc'
|
||||
vmImage: 'MMSUbuntu20.04TLS'
|
||||
|
||||
steps:
|
||||
- template: ../build/install-dotnet.yml
|
||||
|
|
|
@ -57,7 +57,7 @@ if (!$SkipCosmosDBEmulator)
|
|||
if ($cosmosStatus -ne "Running")
|
||||
{
|
||||
Write-Host "CosmosDB emulator is not running. Starting emulator."
|
||||
Start-CosmosDbEmulator -NoWait
|
||||
Start-CosmosDbEmulator -NoWait -NoUI
|
||||
$startedCosmos = $true
|
||||
}
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче