Skip to content

Commit 8edf1b1

Browse files
committed
update
1 parent ff932fa commit 8edf1b1

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.azure-pipelines/templates/variables.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ variables:
44
windows_pool: 'pool-windows-2019'
55
ubuntu_arm64_pool: 'pool-ubuntu-latest-arm64'
66
macos_pool: 'macOS-14'
7-
MAX_PARALLEL: 2

scripts/live_test/CLITest.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ trigger:
1414
variables:
1515
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml
1616

17+
parameters:
18+
- name: maxParallel
19+
displayName: Max Parallel Count
20+
type: number
21+
default: 5
1722
#schedules:
1823
#- cron: "0 18 * * 5"
1924
# displayName: Weekly Friday test
@@ -34,7 +39,7 @@ stages:
3439
timeoutInMinutes: 600
3540
strategy:
3641
# If the maxParallel is too large, the resource group will reach the limit of 980, so it is recommended that the maxParallel should not exceed 30.
37-
parallel: ${{ variables.MAX_PARALLEL }}
42+
maxParallel: ${{ parameters.maxParallel }}
3843
matrix:
3944
acr:
4045
Target: acr
@@ -610,7 +615,7 @@ stages:
610615
timeoutInMinutes: 600
611616
strategy:
612617
# If the maxParallel is too large, the resource group will reach the limit of 980, so it is recommended that the maxParallel should not exceed 30.
613-
parallel: ${{ variables.MAX_PARALLEL }}
618+
maxParallel: ${{ parameters.maxParallel }}
614619
matrix:
615620
acr:
616621
Target: acr
@@ -1186,7 +1191,7 @@ stages:
11861191
timeoutInMinutes: 600
11871192
strategy:
11881193
# If the maxParallel is too large, the resource group will reach the limit of 980, so it is recommended that the maxParallel should not exceed 30.
1189-
parallel: ${{ variables.MAX_PARALLEL }}
1194+
maxParallel: ${{ parameters.maxParallel }}
11901195
matrix:
11911196
acr:
11921197
Target: acr

0 commit comments

Comments
 (0)