trackbone-wrapper add some selectors automatically
Trackbone 2.10.0 introduces selectors, allowing to exclude cue files from evaluation.
As passing selectors to trackbone in most circumstances is quite tedious and could be automated in trackbone-wrapper,
this commit aims to automatically defines some well-known selectors (derived from parameters fed to trackbone with flags -z & -c for example).
Current well-known selectors include:
-
configuration: name of configurations to apply (unless
--cascadeflag is passed, in which case we don't pass this selector) - zone_targeted: name of zones where configs will be applied
- zone_line: line name for the targeted zones (staging, prod,...)
- zone_parent: parent zone name of the targeted zones
- zone_closure: name of zones that could be required during evaluation (it includes the targeted zones, their parent zone, their infra zones, and their child zones)
- zone_type: type of the targeted zones (cloud, client, infra, ngot-admin, ngot-supervision,...)
- zone_provider: provider name for the targeted zones (fe, aws, azure,...)
- zone_product: product name for the targeted zones (caascad, ngot,...)
All these selectors (except configuration & zone_targeted which are export-only) can be fed to trackbone-wrapper to ease cue evaluation and to target only specific zones.
Arguments -z and -c still work as expected.
Edited by Ghost User