<html><body>
<h3>Daniel Belenky created OVIRT-1894:</h3>
<pre>   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</pre>
<p>We want to have the ability to specify conditional execution of threads (stage, substage, &hellip; ) with different conditions. The first condition to implement (and probably the most straightforward one) is to execute a thread in certain files were changed.</p>
<p>Example schema for the syntax: {code:yaml} --- stage: check-patch substage:</p>
<pre>  - change1:
      run-if:
        - file-changed: &lt;filename&gt;
  - change2:
      run-if:
        - file-changed:
- &lt;file1&gt;
- &lt;file2&gt;</pre>
<p>{code}</p>
<p>&mdash; This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100079)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BJ33BSM3tuiUfRTk64K-2BOjH6OfHwHF07KbWgKiV6gm3mB1II18BSBtXPREj0WkjfqAgXWnshvNmi3g7hf7kv7FqBki2RZzgFbqRnK9goqqJkcAizW7noi7EpyC7Cyq4m5LcFY7gF1dfPA71ctDJv1itP55J4TaIQ0OVOFPKLlEkDqvR5zu-2BOiUvMmzEJIbMQEdd5TIXd0EUIrZzpWk0Acbta5iy-2BWecOD-2FMYCrOtNJelDPBR4ywq-2B5lzJt-2BkfyjWYGi2baljnMPY-2F98x3oXLM-2FyHtzJc6u0TyHrlSxX0XoBCTmvNz8freKlPHDgji1mgczn6JRfyTvypDcllZeawvg-2BIF1lM-2FpvOFD04140yHfMpqNuNXlkpojZdzJ8fRv5pCW8gDVQe7YZMt2FIH77oUCvpwm-2FQRNKaKtY6B2uuBX6B" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>