<< Back to previous view

[QB-3619] Resource depends on another resource can "use" dependency resource
Created: 16/Sep/20  Updated: 18/Feb/21

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 9.0.47
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: U. Artie Eoff Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Currently we can create a resource with "Nodes matching all specified criterias" -> ("Node matches another resource" and "All nodes with specified attribute value"). But when we "use" this resource, the matched resource in the criteria does not get marked as "used"... only the current resource is marked as "used".

We would like to create a resource that "matches another resource" with additional criteria but also "uses" the matched resource.

For example, we have agents that can only run QUICK_TEST jobs and agents that can run both QUICK_TEST and LONG_TEST jobs. For QUICK_TEST job configurations we select agent with resource QUICK_TEST. For LONG_TEST jobs configurations we select agent with resource LONG_TEST. However, when an agent is running a LONG_TEST job, we don't want it to run a QUICK_TEST job.

Our current workaround is to only define a "TEST" resource, then in a LONG_TEST-based configuration we select agent with TEST resource plus LONG "attribute value".

Hope this makes sense. Let me know if you need better explanation.

 Comments   
Comment by Robin Shen [ 18/Feb/21 08:22 AM ]
Resource reference in resource node selection is only treated as a means of node selection shortcut. Considering it as used can introduce other problems, for instance, if the node is selected via other criterias.
Generated at Fri Apr 19 00:48:11 UTC 2024 using JIRA 189.