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

Reorganize directory structure for jobs and the framework #631

Merged

Conversation

mimowo
Copy link
Contributor

@mimowo mimowo commented Mar 14, 2023

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

The current directory structure has been contested as problematic: #578 (comment).

One issue is that the framwork and the jobs are under workload directory, which is misleading in this case as it is ambiguous (generalization of a batch workload, or a specific concept in Kueue).

Another issue is that the jobframework library is at the same level in hierarchy as jobs of particular frameworks.

Which issue(s) this PR fixes:

Part of #369

Special notes for your reviewer:

As a starting point organize according to the proposal: #627 (comment).

@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 14, 2023
@netlify
Copy link

netlify bot commented Mar 14, 2023

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit 6c668af
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/6410b2ce97a4d0000851930f

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 14, 2023
@mimowo
Copy link
Contributor Author

mimowo commented Mar 14, 2023

/assign @alculquicondor @kerthcet
cc @mwielgus

Copy link
Contributor

@alculquicondor alculquicondor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

Comment on lines +50 to +51
"sigs.k8s.io/kueue/pkg/controller/jobs/job"
"sigs.k8s.io/kueue/pkg/controller/jobs/mpijob"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once mpijob goes into another module:

Suggested change
"sigs.k8s.io/kueue/pkg/controller/jobs/job"
"sigs.k8s.io/kueue/pkg/controller/jobs/mpijob"
"sigs.k8s.io/kueue/pkg/controller/job"

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 14, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alculquicondor, mimowo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 14, 2023
@k8s-ci-robot k8s-ci-robot merged commit d5075a3 into kubernetes-sigs:main Mar 14, 2023
@mimowo mimowo deleted the restructure-job-framework-dirs branch March 18, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants