-
Notifications
You must be signed in to change notification settings - Fork 736
Closed
Labels
Description
Warnings are great to let developers know that they are using the correct process selectors e.g. here. However, if we are using if/else
type logic in the main workflow like here then we have to replicate this in any configuration too like here. This becomes quite painful to maintain and ideally we should have an option to turn off the warnings via some sort of configuration option.
Possible suggestions:
- An option that takes a list of process names to ignore but this could get very long for larger pipelines e.g.
ignore_selector_warnings = ['KUNG', 'FOO', 'BAR']
- A configuration option that can be set within the
process
scope for all processes or individual ones:
process {
ignore_selector_warnings = true
withName: 'FOO' {
ignore_selector_warnings = true
}
}
maxulysse