Skip to content

CLI Define and Submit job commands #280

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

Merged
merged 9 commits into from
Aug 10, 2023
Merged

CLI Define and Submit job commands #280

merged 9 commits into from
Aug 10, 2023

Conversation

carsonmh
Copy link
Contributor

@carsonmh carsonmh commented Aug 3, 2023

Issue link

closes #276

What changes have been made

define job and submit job commands. Allows user to define and submit jobs from the terminal

  • codeflare define job takes in the same parameters that the SDK defines and creates a DDPJobDefinition in the user's .codeflare folder.
  • codeflare submit job submits a job based on the job name. The user can either submit to a raycluster or just to k8s.

Verification steps

  • After building SDK, tester can run codeflare submit job --help or codeflare define job --help to see how each command works and then can run each command
  • Unit tests can be run with pytest -v tests/unit_test.py

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 4, 2023
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 4, 2023
@carsonmh carsonmh force-pushed the cli-update branch 2 times, most recently from ffda563 to 18a2aa5 Compare August 8, 2023 22:03
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 10, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 10, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MichaelClifford

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 10, 2023
@openshift-merge-robot openshift-merge-robot merged commit e3bf2c0 into project-codeflare:cli-update Aug 10, 2023
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants