job submission plugin accept yaml contents
Open
@debuggy is already working on this.
Since Aug 2, 2019.
new feature
pai-dev
webportal
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 554
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 14
Description
In our current job cloning logic, we will pass username and jobname in the url, and the plugin will retrieve the config of specified job by REST API. This issue is discussing a new way that plugin get the content of job config (protocol yaml) directly.
The benefits of doing this:
- Other front end (python-sdk or notebook extension) could generate a basic yaml for user, and leverage the job submission page for advanced editing. This means we could add have more templates
- Clone jobs across clusters or from a job config yaml
Possible implements:
- Compress and encode the protocol yaml in url directly (be careful not to exceed 2000 char limit)
- Use a
POSTrequest with job config as body
the job submission plugin would retrieve the job config and use it
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.