[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
This commit is contained in:
parent
199a67a15a
commit
386ce28695
@ -34,10 +34,6 @@ parameters:
|
||||
type: string
|
||||
default: "ceos"
|
||||
|
||||
- name: SPECIFIED_PARAMS
|
||||
type: string
|
||||
default: "{}"
|
||||
|
||||
- name: COMMON_EXTRA_PARAMS
|
||||
type: string
|
||||
default: ""
|
||||
@ -61,7 +57,7 @@ steps:
|
||||
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 }} \
|
||||
--test-set ${{ parameters.TEST_SET }} --kvm-build-id $(KVM_BUILD_ID) \
|
||||
--deploy-mg-extra-params "${{ parameters.DEPLOY_MG_EXTRA_PARAMS }}" --mgmt-branch ${{ parameters.MGMT_BRANCH }} \
|
||||
--vm-type ${{ parameters.VM_TYPE }} --specified-params "${{ parameters.SPECIFIED_PARAMS }}" --common-extra-params "${{ parameters.COMMON_EXTRA_PARAMS }}" --num-asic ${{ parameters.NUM_ASIC }}
|
||||
--vm-type ${{ parameters.VM_TYPE }} --common-extra-params "${{ parameters.COMMON_EXTRA_PARAMS }}" --num-asic ${{ parameters.NUM_ASIC }}
|
||||
TEST_PLAN_ID=`cat new_test_plan_id.txt`
|
||||
|
||||
echo "Created test plan $TEST_PLAN_ID"
|
||||
|
@ -192,9 +192,8 @@ stages:
|
||||
MIN_WORKER: $(T0_SONIC_INSTANCE_NUM)
|
||||
MAX_WORKER: $(T0_SONIC_INSTANCE_NUM)
|
||||
TEST_SET: t0-sonic
|
||||
COMMON_EXTRA_PARAMS: "--neighbor_type=sonic --enable_macsec --macsec_profile=128_SCI,256_XPN_SCI"
|
||||
COMMON_EXTRA_PARAMS: "--neighbor_type=sonic "
|
||||
VM_TYPE: vsonic
|
||||
SPECIFIED_PARAMS: '{\"test_pretest.py\":[\"--completeness_level=confident\",\"--allow_recover\"],\"test_posttest.py\":[\"--completeness_level=confident\",\"--allow_recover\"]}'
|
||||
MGMT_BRANCH: 202205
|
||||
|
||||
- job: dualtor_elastictest
|
||||
|
Loading…
Reference in New Issue
Block a user