Skip to content

Commit

Permalink
Update baseline test yaml (sonic-net#10888)
Browse files Browse the repository at this point in the history
  • Loading branch information
xwjiang-ms authored Nov 30, 2023
1 parent 8d13e86 commit 1dc9558
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ stages:
dependsOn:
- Pre_test
condition: succeeded('Pre_test')
variables:
- group: SONiC-Elastictest
- name: inventory
value: veos_vtb
- name: testbed_file
value: vtestbed.yaml
- group: GIT_SECRETS
jobs:
- template: baseline.test.template.yml

Expand All @@ -36,6 +43,13 @@ stages:
- Pre_test
- Test_round_1
condition: and(succeeded('Pre_test'), succeededOrFailed('Test_round_1'))
variables:
- group: SONiC-Elastictest
- name: inventory
value: veos_vtb
- name: testbed_file
value: vtestbed.yaml
- group: GIT_SECRETS
jobs:
- template: baseline.test.template.yml

Expand All @@ -44,6 +58,13 @@ stages:
- Pre_test
- Test_round_2
condition: and(succeeded('Pre_test'), succeededOrFailed('Test_round_2'))
variables:
- group: SONiC-Elastictest
- name: inventory
value: veos_vtb
- name: testbed_file
value: vtestbed.yaml
- group: GIT_SECRETS
jobs:
- template: baseline.test.template.yml

Expand All @@ -52,5 +73,12 @@ stages:
- Pre_test
- Test_round_3
condition: and(succeeded('Pre_test'), succeededOrFailed('Test_round_3'))
variables:
- group: SONiC-Elastictest
- name: inventory
value: veos_vtb
- name: testbed_file
value: vtestbed.yaml
- group: GIT_SECRETS
jobs:
- template: baseline.test.template.yml
22 changes: 7 additions & 15 deletions .azure-pipelines/baseline_test/baseline.test.template.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
variables:
- group: SONiC-Elastictest
- name: inventory
value: veos_vtb
- name: testbed_file
value: vtestbed.yaml
- group: GIT_SECRETS

jobs:
- job: t0_elastictest
displayName: "kvmtest-t0 by Elastictest"
timeoutInMinutes: 240
continueOnError: false
pool: ubuntu-20.04
strategy:
parallel: $(BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM)
parallel: $[ variables['BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM'] ]
steps:
- template: ../run-test-elastictest-template.yml
parameters:
Expand All @@ -32,7 +24,7 @@ jobs:
continueOnError: false
pool: ubuntu-20.04
strategy:
parallel: $(BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM)
parallel: $[ variables['BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM'] ]
steps:
- template: ../run-test-elastictest-template.yml
parameters:
Expand All @@ -53,7 +45,7 @@ jobs:
continueOnError: false
pool: ubuntu-20.04
strategy:
parallel: $(BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM)
parallel: $[ variables['BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM'] ]
steps:
- template: ../run-test-elastictest-template.yml
parameters:
Expand All @@ -72,7 +64,7 @@ jobs:
continueOnError: false
pool: ubuntu-20.04
strategy:
parallel: $(BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM)
parallel: $[ variables['BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM'] ]
steps:
- template: ../run-test-elastictest-template.yml
parameters:
Expand All @@ -92,7 +84,7 @@ jobs:
continueOnError: false
pool: ubuntu-20.04
strategy:
parallel: $(BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM)
parallel: $[ variables['BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM'] ]
steps:
- template: ../run-test-elastictest-template.yml
parameters:
Expand All @@ -113,7 +105,7 @@ jobs:
continueOnError: false
pool: ubuntu-20.04
strategy:
parallel: $(BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM)
parallel: $[ variables['BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM'] ]
steps:
- template: ../run-test-elastictest-template.yml
parameters:
Expand All @@ -135,7 +127,7 @@ jobs:
continueOnError: false
pool: ubuntu-20.04
strategy:
parallel: $(BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM)
parallel: $[ variables['BASELINE_MGMT_PUBLIC_MASTER_TEST_NUM'] ]
steps:
- template: ../run-test-elastictest-template.yml
parameters:
Expand Down

0 comments on commit 1dc9558

Please sign in to comment.