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:
Shyju Krishnankutty 2021-12-15 14:14:05 -08:00 коммит произвёл GitHub
Родитель e41a647af8
Коммит bff3f30d31
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -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