plugins/elements/filter.py: Allow passing integration commands through, fail if dep is a stack element
Description
Allows a user to set a pass-integration
option to a filter element in order to run the integration-commands of the parent element instead of its own. This intended to reduce duplication in projects which use filters, but still want to run the integration commands on the output of these filters. See #1107 (closed).
Additionally fails if a filter element depends on a stack. As a stack element produces no artifact, there is nothing to filter. The current behaviour of "run like everything's okay, but also produce an empty artifact" is confusing, so with this MR we'll throw an error instead. See #1104 (closed).
Changes proposed in this merge request:
- Add option to pass integration commands through filter elements
- Throw an error if a filter element has a stack element as its parent.
This merge request, when approved, will close: #1104 (closed) #1107 (closed)