allow passing filters to SQLCI
We have a shared database environment that is usesdby many applications that have different release schedules. We need a way to filter to a specific set of objects (i.e. schema, and/or object name)
Filters can now be passed to relevant cmdlets using the -FilterPath parameter and to SQLCI.ps1 using the filter parameter.
-
Peter Gerrard commented
Hi Chad,
SQL CI already supports filters used by SQL Source Control and that get checked in to Source Control, or by using /additionalCompareArgs to override that filter.
How you set /additionalCompareArgs depends on how you use SQL CI (generally in the advanced options), you then need add to /additionalCompareArgs something like:
/filter:C:\MyFilters\filtername.scpf