Skip to content

Commit 6f45ef4

Browse files
authored
{CI} Migrate azure cli extensions pipelines (#4893)
* test migrate azure-pipelines.yml * Update azure-pipelines.yml
1 parent 163e5be commit 6f45ef4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- job: CredScan
1717
displayName: "Credential Scan"
1818
pool:
19-
vmImage: "windows-2019"
19+
name: 'pool-windows-2019'
2020
steps:
2121
- task: ms-codeanalysis.vss-microsoft-security-code-analysis-devops.build-task-credscan.CredScan@2
2222
displayName: 'Run Credential Scanner'
@@ -37,7 +37,7 @@ jobs:
3737
- job: CheckLicenseHeader
3838
displayName: "Check License"
3939
pool:
40-
vmImage: 'ubuntu-20.04'
40+
name: 'pool-ubuntu-2004'
4141
steps:
4242
- task: UsePythonVersion@0
4343
displayName: 'Use Python 3.10'
@@ -68,7 +68,7 @@ jobs:
6868
- job: StaticAnalysis
6969
displayName: "Static Analysis"
7070
pool:
71-
vmImage: 'ubuntu-20.04'
71+
name: 'pool-ubuntu-2004'
7272
steps:
7373
- task: UsePythonVersion@0
7474
displayName: 'Use Python 3.6'
@@ -82,7 +82,7 @@ jobs:
8282
- job: IndexVerify
8383
displayName: "Verify Extensions Index"
8484
pool:
85-
vmImage: 'ubuntu-20.04'
85+
name: 'pool-ubuntu-2004'
8686
steps:
8787
- task: UsePythonVersion@0
8888
displayName: 'Use Python 3.10'
@@ -99,7 +99,7 @@ jobs:
9999
- job: SourceTests
100100
displayName: "Integration Tests, Build Tests"
101101
pool:
102-
vmImage: 'ubuntu-20.04'
102+
name: 'pool-ubuntu-2004'
103103
strategy:
104104
matrix:
105105
Python38:
@@ -125,7 +125,7 @@ jobs:
125125
displayName: "CLI Linter on Modified Extensions"
126126
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
127127
pool:
128-
vmImage: 'ubuntu-20.04'
128+
name: 'pool-ubuntu-2004'
129129
steps:
130130
- task: UsePythonVersion@0
131131
displayName: 'Use Python 3.10'
@@ -161,7 +161,7 @@ jobs:
161161
- job: IndexRefDocVerify
162162
displayName: "Verify Ref Docs"
163163
pool:
164-
vmImage: 'ubuntu-20.04'
164+
name: 'pool-ubuntu-2004'
165165
steps:
166166
- task: UsePythonVersion@0
167167
displayName: 'Use Python 3.10'

0 commit comments

Comments
 (0)