Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Jobref calls should support overriding node filter params

#99

It is sometimes required for a coordination job to call subordinate jobs overriding them with its node filter and dispatch flags. This is needed because each job must be defined with filter expressions and dispatch flags of its own.

A coordination job must be able to override these like is possible with the run command arguments. Eg

 run ‐I tags=dev ‐X os‐family=windows ‐C 2 ‐K ‐j ’test/Job1’ -- -optionA valA

The jobref flag might support this syntax, too.

Three hypothetical strawman examples illustrate the theme:

Ex#1) Overload arg line attribute using the double dash as delimiter:

 <jobref group="test" name="Job1"/>            
     <arg line="‐I tags=dev ‐X os‐family=windows ‐C 2 ‐K -- -optionA valA"/>                                            
 </jobref>

Ex#2) Allow nodefilters and dispatch tags as nested elements:

<jobref group="test" name="Job1"/>            
    <arg line="-optionA valA"/>    
    <nodefilters excludeprecedence="true">                                                               
      <include>
        <os-family>windows</os-family>
      </include>
      <exclude>
        <tags>dev</tags>
      </exclude>
    </nodefilters>
    <dispatch>
      <threadcount>2</threadcount>
      <keepgoing>true</keepgoing>
    </dispatch>                                        
</jobref>

Ex#3) Provide a shorthand tag that implicitly overrides the nodefilters and
dispatch configuration for the subordinate job:

<jobref group="test" name="Job1"/>            
     <override nodefilters="true" dispatch="true"/>
     <arg line="-optionA valA"/>                                            
</jobref>

Reported by Alex-SF · November 29th, 2010 @ 08:45 AM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Deleted User
    Deleted User

    Is it the case that a job with a filter defined will still be honored?

    November 29th, 2010 @ 08:29 PM

  2. Alex-SF
    Alex-SF
    • Milestone cleared.
    • Milestone order changed from 14 to 0

    December 29th, 2010 @ 05:50 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.