Summary: Add conditional execution parameter (run_if) to DSL options
Key: OVIRT-1894
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1894
Project: oVirt - virtualization made easy
Issue Type: Improvement
Components: STDCI DSL
Reporter: Daniel Belenky
Assignee: infra
We want to have the ability to specify conditional execution of threads (stage, substage, … ) with different conditions. The first condition to implement (and probably the most straightforward one) is to execute a thread in certain files were changed.
Example schema for the syntax: {code:yaml} --- stage: check-patch substage:
- change1:
run-if:
- file-changed: <filename>
- change2:
run-if:
- file-changed:
- <file1>
- <file2>
{code}
— This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100079)