update pipeline's agent pool as per bi operation recommendation (#925)

* update vmimage demand in yaml as per exec order
This commit is contained in:
Arjun Roy Chaudhuri 2022-01-06 10:26:42 -08:00 коммит произвёл GitHub
Родитель fd6f8c10ea
Коммит edc21f8c62
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 17 добавлений и 6 удалений

2
.github/workflows/linter.yml поставляемый
Просмотреть файл

@ -41,7 +41,7 @@ jobs:
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v3
uses: github/super-linter@v4
env:
VALIDATE_PYTHON: true
VALIDATE_PYTHON_FLAKE8: true

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

@ -13,7 +13,9 @@ variables:
jobs:
- job: Tests
pool:
vmImage: 'ubuntu-18.04'
name: '1ES-Hosted-AzFunc' #MMS2019TLS for Windows2019 or MMSUbuntu20.04TLS for ubuntu
demands:
- ImageOverride -equals MMSUbuntu20.04TLS
strategy:
matrix:
Python36:
@ -48,7 +50,9 @@ jobs:
- job: Build_WINDOWS_X64
dependsOn: 'Tests'
pool:
vmImage: 'windows-2019'
name: '1ES-Hosted-AzFunc' #MMS2019TLS for Windows2019 or MMSUbuntu20.04TLS for ubuntu
demands:
- ImageOverride -equals MMS2019TLS
strategy:
matrix:
Python36V2:
@ -79,7 +83,9 @@ jobs:
- job: Build_WINDOWS_X86
dependsOn: 'Tests'
pool:
vmImage: 'windows-2019'
name: '1ES-Hosted-AzFunc' #MMS2019TLS for Windows2019 or MMSUbuntu20.04TLS for ubuntu
demands:
- ImageOverride -equals MMS2019TLS
strategy:
matrix:
Python37V2:
@ -104,7 +110,9 @@ jobs:
- job: Build_LINUX_X64
dependsOn: 'Tests'
pool:
vmImage: 'ubuntu-18.04'
name: '1ES-Hosted-AzFunc' # MMS2019TLS for Windows2019 or MMSUbuntu20.04TLS for ubuntu
demands:
- ImageOverride -equals MMSUbuntu20.04TLS
strategy:
matrix:
Python36V2:
@ -166,7 +174,10 @@ jobs:
dependsOn: ['Build_WINDOWS_X64', 'Build_WINDOWS_X86', 'Build_LINUX_X64', 'Build_OSX_X64']
condition: or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
pool:
vmImage: 'vs2017-win2016'
#vmImage: 'vs2017-win2016'
name: '1ES-Hosted-AzFunc' #MMS2019TLS for Windows2019 or MMSUbuntu20.04TLS for ubuntu
demands:
- ImageOverride -equals MMS2019TLS
steps:
- bash: |
echo "Releasing from $BUILD_SOURCEBRANCHNAME"