Skip to content

Commit 386ce28

Browse files
authored
[CI/CD] Refine t0 sonic and remove SPECIFIED_PARAMS (#15626)
Why I did it t0-sonic's specific params has been set on sonic-mgmt repo, remove useless SPECIFIED_PARAMS usage
1 parent 199a67a commit 386ce28

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.azure-pipelines/run-test-scheduler-template.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ parameters:
3434
type: string
3535
default: "ceos"
3636

37-
- name: SPECIFIED_PARAMS
38-
type: string
39-
default: "{}"
40-
4137
- name: COMMON_EXTRA_PARAMS
4238
type: string
4339
default: ""
@@ -61,7 +57,7 @@ steps:
6157
python ./.azure-pipelines/test_plan.py create -t ${{ parameters.TOPOLOGY }} -o new_test_plan_id.txt --min-worker ${{ parameters.MIN_WORKER }} --max-worker ${{ parameters.MAX_WORKER }} \
6258
--test-set ${{ parameters.TEST_SET }} --kvm-build-id $(KVM_BUILD_ID) \
6359
--deploy-mg-extra-params "${{ parameters.DEPLOY_MG_EXTRA_PARAMS }}" --mgmt-branch ${{ parameters.MGMT_BRANCH }} \
64-
--vm-type ${{ parameters.VM_TYPE }} --specified-params "${{ parameters.SPECIFIED_PARAMS }}" --common-extra-params "${{ parameters.COMMON_EXTRA_PARAMS }}" --num-asic ${{ parameters.NUM_ASIC }}
60+
--vm-type ${{ parameters.VM_TYPE }} --common-extra-params "${{ parameters.COMMON_EXTRA_PARAMS }}" --num-asic ${{ parameters.NUM_ASIC }}
6561
TEST_PLAN_ID=`cat new_test_plan_id.txt`
6662
6763
echo "Created test plan $TEST_PLAN_ID"

azure-pipelines.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,8 @@ stages:
192192
MIN_WORKER: $(T0_SONIC_INSTANCE_NUM)
193193
MAX_WORKER: $(T0_SONIC_INSTANCE_NUM)
194194
TEST_SET: t0-sonic
195-
COMMON_EXTRA_PARAMS: "--neighbor_type=sonic --enable_macsec --macsec_profile=128_SCI,256_XPN_SCI"
195+
COMMON_EXTRA_PARAMS: "--neighbor_type=sonic "
196196
VM_TYPE: vsonic
197-
SPECIFIED_PARAMS: '{\"test_pretest.py\":[\"--completeness_level=confident\",\"--allow_recover\"],\"test_posttest.py\":[\"--completeness_level=confident\",\"--allow_recover\"]}'
198197
MGMT_BRANCH: 202205
199198

200199
- job: dualtor_elastictest

0 commit comments

Comments
 (0)