[JIRA] (OVIRT-1894) Add conditional execution parameter (run_if) to DSL options

Daniel Belenky (oVirt JIRA) jira at ovirt-jira.atlassian.net
Mon Feb 12 15:08:37 UTC 2018


Daniel Belenky created OVIRT-1894:
-------------------------------------

             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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20180212/feda10b8/attachment.html>


More information about the Infra mailing list