[ci] Add the platform filter to ignore some platforms not ready to use (#7453)

Why I did it
Add the platform filter to ignore some platforms not ready to use
The platform centos-arm64 and the platform marvell-armhf are not ready to use now. We will add it when it is available.
This commit is contained in:
xumia 2021-04-28 21:22:53 +08:00 committed by GitHub
parent 59cae24e43
commit a53e9ebfa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,18 @@ schedules:
pool: sonicbld
parameters:
- name: jobFilters
type: object
default:
- vs
- broadcom
- centec
- generic
- innovium
- mellanox
- nephos
stages:
- stage: Build
variables:
@ -25,6 +37,7 @@ stages:
- template: azure-pipelines-build.yml
parameters:
buildOptions: '${{ variables.VERSION_CONTROL_OPTIONS }} SONIC_BUILD_JOBS=$(nproc) ENABLE_IMAGE_SIGNATURE=y'
jobFilters: ${{ parameters.jobFilters }}
preSteps:
- script: |
containers=$(docker container ls | grep "sonic-slave" | awk '{ print $1 }')