[CI/CD] Use remote PR test template from sonic-mgmt master to run PR test (#15976)
Why I did it Use remote PR test template from sonic-mgmt master to run PR test. How I did it Modify PR test azure pipeline yml file. How to verify it PR test executing normally. Signed-off-by: Chun'ang Li <chunangli@microsoft.com>
This commit is contained in:
parent
b32b5ec5ac
commit
db1d6ab014
@ -28,8 +28,8 @@ resources:
|
||||
- repository: sonic-mgmt
|
||||
type: github
|
||||
name: sonic-net/sonic-mgmt
|
||||
ref: master
|
||||
endpoint: sonic-net
|
||||
ref: refs/heads/202012
|
||||
- repository: buildimage
|
||||
type: github
|
||||
name: sonic-net/sonic-buildimage
|
||||
@ -139,12 +139,12 @@ stages:
|
||||
timeoutInMinutes: 240
|
||||
continueOnError: false
|
||||
steps:
|
||||
- template: .azure-pipelines/run-test-scheduler-template.yml
|
||||
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
|
||||
parameters:
|
||||
TOPOLOGY: t0
|
||||
MIN_WORKER: $(T0_INSTANCE_NUM)
|
||||
MAX_WORKER: $(T0_INSTANCE_NUM)
|
||||
MGMT_BRANCH: 202012
|
||||
MGMT_BRANCH: "202012"
|
||||
|
||||
- job: t0_2vlans_elastictest
|
||||
pool: ubuntu-20.04
|
||||
@ -152,14 +152,14 @@ stages:
|
||||
timeoutInMinutes: 240
|
||||
continueOnError: false
|
||||
steps:
|
||||
- template: .azure-pipelines/run-test-scheduler-template.yml
|
||||
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
|
||||
parameters:
|
||||
TOPOLOGY: t0
|
||||
TEST_SET: t0-2vlans
|
||||
MIN_WORKER: $(T0_2VLANS_INSTANCE_NUM)
|
||||
MAX_WORKER: $(T0_2VLANS_INSTANCE_NUM)
|
||||
DEPLOY_MG_EXTRA_PARAMS: "-e vlan_config=two_vlan_a"
|
||||
MGMT_BRANCH: 202012
|
||||
MGMT_BRANCH: "202012"
|
||||
|
||||
- job: t1_lag_elastictest
|
||||
pool: ubuntu-20.04
|
||||
@ -167,12 +167,12 @@ stages:
|
||||
timeoutInMinutes: 240
|
||||
continueOnError: false
|
||||
steps:
|
||||
- template: .azure-pipelines/run-test-scheduler-template.yml
|
||||
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
|
||||
parameters:
|
||||
TOPOLOGY: t1-lag
|
||||
MIN_WORKER: $(T1_LAG_INSTANCE_NUM)
|
||||
MAX_WORKER: $(T1_LAG_INSTANCE_NUM)
|
||||
MGMT_BRANCH: 202012
|
||||
MGMT_BRANCH: "202012"
|
||||
|
||||
- job: dualtor_elastictest
|
||||
pool: ubuntu-20.04
|
||||
@ -180,10 +180,10 @@ stages:
|
||||
timeoutInMinutes: 240
|
||||
continueOnError: false
|
||||
steps:
|
||||
- template: .azure-pipelines/run-test-scheduler-template.yml
|
||||
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
|
||||
parameters:
|
||||
TOPOLOGY: dualtor
|
||||
MIN_WORKER: $(T0_DUALTOR_INSTANCE_NUM)
|
||||
MAX_WORKER: $(T0_DUALTOR_INSTANCE_NUM)
|
||||
COMMON_EXTRA_PARAMS: "--disable_loganalyzer "
|
||||
MGMT_BRANCH: 202012
|
||||
MGMT_BRANCH: "202012"
|
||||
|
Loading…
Reference in New Issue
Block a user