-
Notifications
You must be signed in to change notification settings - Fork 210
Cuesubmit jobs from config file #1284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Cuesubmit jobs from config file #1284
Conversation
9e85fe0
to
6cfd785
Compare
This branch is failing on CLA for some reason. @KernAttila I know it has been a while, but can you try following the CLA process again? |
47010d1
to
91483f0
Compare
It looks like some errors emerged after merging master into this branch. Unit tests are failing with:
|
@DiegoTavares no worries, I'm currently fixing those. It's a bit hard to come back to this code after so long ^^ but we'll get there ! |
…b `config_file` + error handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the suggested change, this MR is ready to be merged.
**Link the Issue(s) this Pull Request is related to.** Fixes #1297 **Summarize your change.** As in many render engines, we should be able to set a negative core requirement. minCores=8 > reserve 8 cores minCores=0 > reserve all cores minCores=-2 > reserve all cores minus 2 This PR addresses this feature by handling negative core requests. Cuebot will try to match this number against the number of cores on each host. The frame will be booked only if all cores are available in this scenario. If the host is busy (even slightly), the frame is **not** booked, to avoid filling the remaining cores. **Testing** I would need some guidance to create proper tests for cuebot. **Screenshot**  Update: There is now a "ALL" text for zero cores, or "ALL (-2)" for negative cores reservation.  (cuesubmit feature in another PR #1284) --------- Signed-off-by: Kern Attila GERMAIN <5556461+KernAttila@users.noreply.github.com>
…g if "cores" is not None. If it has an explicit value (like in existing implementations), this means we want to override the value, which is the default behavior. Otherwise, we let the server assign the value of selected service.
…s" value is None.
…s" value is None.
Signed-off-by: Kern Attila GERMAIN <5556461+KernAttila@users.noreply.github.com>
… the args are set, because checking their value would be False for 0 (all cores)
…Wolf-Pipeline/OpenCue into cuesubmit-jobs-from-config-file
@lithorus and @DiegoTavares, this PR is up to date with the master branch. |
Link the Issue(s) this Pull Request is related to.
#1275
Summarize your change.
Note
Question
Screenshots
