kernelci / kernelci-pipeline

Modular pipeline based on the KernelCI API
GNU Lesser General Public License v2.1
6 stars 19 forks source link

trigger: Add exclude/include tree list for trigger #596

Closed nuclearcat closed 4 months ago

nuclearcat commented 5 months ago

As we need to restrict list of running kernels on staging, we need to add option allowing that. Also it will be good to exclude staging kernels from production kernel list.

So in case of staging we need to run kernels only from tree "kernelci" and sometimes something else, for example "mediatek". Option will look like:

--trees kernelci,mediatek or --trees kernelci

On production we need to exclude trees kernelci and buggytree: --trees !kernelci,buggytree or just kernelci: --trees !kernelci

Purpose of this option is that our compiling capacity is limited, and right now staging and production both compiling very large set of kernels, we need to reduce this amount to drop costs.

nuclearcat commented 4 months ago

Tested on staging, will be applied on upcoming production update