Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add max parallel parameter to E2E test pipelines #7444

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .pipelines/1p-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ parameters:
displayName: "Debug Variables"
type: boolean
default: false
- name: "maxParallel"
displayName: "Max number of parallel jobs"
type: number
default: 0
- name: "poolType"
displayName: "Pool Type"
type: string
Expand All @@ -29,7 +33,7 @@ resources:
- repository: 1P
type: git
name: IDDP/msal-javascript-1p
ref: master
ref: max-parallel

extends:
template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates
Expand Down Expand Up @@ -58,3 +62,4 @@ extends:
- "BrokerTestApp-React"
- "BrokerSingleFrameTestApp"
debug: ${{ parameters.debug }}
maxParallel: ${{ parameters.maxParallel }}
10 changes: 9 additions & 1 deletion .pipelines/3p-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ parameters:
displayName: "Debug Variables"
type: boolean
default: false
- name: "maxParallel"
displayName: "Max number of parallel jobs"
type: number
default: 0
- name: "poolType"
displayName: "Pool Type"
type: string
Expand Down Expand Up @@ -46,7 +50,7 @@ resources:
- repository: 1P
type: git
name: IDDP/msal-javascript-1p
ref: master
ref: max-parallel
extends:
template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates # https://aka.ms/obpipelines/templates
parameters:
Expand Down Expand Up @@ -74,6 +78,7 @@ extends:
- "pop"
- "customizable-e2e-test"
debug: ${{ parameters.debug }}
maxParallel: ${{ parameters.maxParallel }}
- ${{ if eq(parameters.runNodeTests, true) }}:
- template: .pipelines/templates/e2e-tests.yml@1P
parameters:
Expand All @@ -95,6 +100,7 @@ extends:
- "b2c-user-flows"
# - "on-behalf-of"
debug: ${{ parameters.debug }}
maxParallel: ${{ parameters.maxParallel }}
- ${{ if eq(parameters.runReactTests, true) }}:
- template: .pipelines/templates/e2e-tests.yml@1P
parameters:
Expand All @@ -111,6 +117,7 @@ extends:
- "typescript-sample"
- "b2c-sample"
debug: ${{ parameters.debug }}
maxParallel: ${{ parameters.maxParallel }}
- ${{ if eq(parameters.runAngularTests, true) }}:
- template: .pipelines/templates/e2e-tests.yml@1P
parameters:
Expand All @@ -128,3 +135,4 @@ extends:
- "angular-standalone-sample"
- "angular17-standalone-sample"
debug: ${{ parameters.debug }}
maxParallel: ${{ parameters.maxParallel }}
Loading