-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add earl jobs export that creates tjm file #3695
Comments
This seems similar to |
If we want this command to be able to export multiple jobs, then it would be nice to have the file names come from some default, so the user doesn't have to provide a name for every file. This could simply be the If we only want to support exporting one job file at a time we can simply pass the name we want as an argument to the command. |
Current setup:
|
TBD:
|
This PR makes the following changes: - Add `jobs export` command to teraslice-cli - Creates a `Jobs` class using the provided jobIds, extracts the jobConfig for each job, and saves each config to the local file system. - Each job is saved to `./<job.name>.json` by default. If a file name already exists `-N` will be appended to the file name. - `--outdir` flag will set a custom directory where job files are saved. - A job-id of `all` will export all jobs. This can be combined with `--status` to export all jobs with executions of a specific status. Ref: #3695
This
earl jobs ts-tmp1 <JOBID>
to afile.json
that is compatible withtjm
.The text was updated successfully, but these errors were encountered: