Skip to content
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

fix(api): check worker model requirements on job processing #4062

Merged
merged 2 commits into from
Mar 25, 2019

Conversation

fsamin
Copy link
Member

@fsamin fsamin commented Mar 20, 2019

while computing the new job addJobsToQueue, the function processNodeJobRunRequirements now checks:

  • the group of the worker model againt the execGroups computed on the node (close fix:permissions on worker models #4002)
  • the binaries requirements against the worker model binary capabilitites
    In case of error, the job is failed

Related issues:
#4002

About tests:
done manually

Mentions:
@ovh/cds

@fsamin fsamin force-pushed the fix/20190320/134322 branch from 4212262 to 84f8e7a Compare March 20, 2019 14:21
@ovh ovh deleted a comment from ovh-cds Mar 20, 2019
@fsamin fsamin force-pushed the fix/20190320/134322 branch from 84f8e7a to 77e9a7b Compare March 20, 2019 15:03
while computing the new job `addJobsToQueue`, the function `processNodeJobRunRequirements` now checks:
* the group of the worker model againt the `execGroups` computed on the node (close #4002)
* the binaries requirements against the worker model binary capabilitites

In case of error, the job is failed
@bnjjj bnjjj merged commit dce008c into master Mar 25, 2019
@fsamin fsamin deleted the fix/20190320/134322 branch March 25, 2019 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix:permissions on worker models
5 participants