Skip to content

Commit 2ba2ff1

Browse files
[ci] Migrate test jobs to vmss agent pool to increase node limit. (#14127)
Why I did it original ubuntu-20.04 agent pool has a node limit 35. Use vmss agent pool to get higher node limit. How I did it
1 parent ba30775 commit 2ba2ff1

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

azure-pipelines.yml

+7-14
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ stages:
176176
section: part-2
177177

178178
- job: t0_testbedv2
179-
pool:
180-
vmImage: 'ubuntu-20.04'
179+
pool: ubuntu-20.04
181180
displayName: "kvmtest-t0 by TestbedV2"
182181
timeoutInMinutes: 240
183182
condition: and(succeeded(), eq(variables.BUILD_IMG_RUN_TESTBEDV2_TEST, 'YES'))
@@ -190,8 +189,7 @@ stages:
190189
MAX_WORKER: $(T0_INSTANCE_NUM)
191190

192191
- job: t0_2vlans_testbedv2
193-
pool:
194-
vmImage: 'ubuntu-20.04'
192+
pool: ubuntu-20.04
195193
displayName: "kvmtest-t0-2vlans by TestbedV2"
196194
timeoutInMinutes: 240
197195
condition: and(succeeded(), eq(variables.BUILD_IMG_RUN_TESTBEDV2_TEST, 'YES'))
@@ -254,8 +252,7 @@ stages:
254252
vmtype: ceos
255253

256254
- job: t1_lag_testbedv2
257-
pool:
258-
vmImage: 'ubuntu-20.04'
255+
pool: ubuntu-20.04
259256
displayName: "kvmtest-t1-lag by TestbedV2"
260257
timeoutInMinutes: 240
261258
condition: and(succeeded(), eq(variables.BUILD_IMG_RUN_TESTBEDV2_TEST, 'YES'))
@@ -321,8 +318,7 @@ stages:
321318

322319
- job: multi_asic_testbedv2
323320
displayName: "kvmtest-multi-asic-t1-lag by TestbedV2"
324-
pool:
325-
vmImage: 'ubuntu-20.04'
321+
pool: ubuntu-20.04
326322
timeoutInMinutes: 240
327323
condition: and(succeeded(), eq(variables.BUILD_IMG_RUN_TESTBEDV2_TEST, 'YES'))
328324
continueOnError: false
@@ -336,8 +332,7 @@ stages:
336332
NUM_ASIC: 4
337333

338334
- job: dualtor_testbedv2
339-
pool:
340-
vmImage: 'ubuntu-20.04'
335+
pool: ubuntu-20.04
341336
displayName: "kvmtest-dualtor-t0 by TestbedV2"
342337
timeoutInMinutes: 240
343338
condition: and(succeeded(), eq(variables.BUILD_IMG_RUN_TESTBEDV2_TEST, 'YES'))
@@ -352,8 +347,7 @@ stages:
352347

353348
- job: sonic_t0_testbedv2
354349
displayName: "kvmtest-t0-sonic by TestbedV2"
355-
pool:
356-
vmImage: 'ubuntu-20.04'
350+
pool: ubuntu-20.04
357351
timeoutInMinutes: 240
358352
condition: and(succeeded(), eq(variables.BUILD_IMG_RUN_TESTBEDV2_TEST, 'YES'))
359353
continueOnError: false
@@ -370,8 +364,7 @@ stages:
370364

371365
- job: wan_testbedv2
372366
displayName: "kvmtest-wan by TestbedV2"
373-
pool:
374-
vmImage: 'ubuntu-20.04'
367+
pool: ubuntu-20.04
375368
timeoutInMinutes: 240
376369
condition: and(succeeded(), eq(variables.BUILD_IMG_RUN_TESTBEDV2_TEST, 'YES'))
377370
continueOnError: false

0 commit comments

Comments
 (0)