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

Feature request: Variable substitution on --output-recursive for copying outputs to {job_id} in bucket #237

Open
sereeena opened this issue Apr 1, 2022 · 2 comments

Comments

@sereeena
Copy link

sereeena commented Apr 1, 2022

Currently you can specify --output-recursive OUTPUT_PATH=gs://bucket/path to have your job write output files and subdirectories to ${OUTPUT_PATH} and these files will be copied to the specified bucket/path. But it would be very useful to be able to automatically set the path in the bucket to the job_id when calling dsub.

This is already available for --logging, where you can format the filenames of the logfiles using variable substitution and by default the files are tied to the job_id.

Can we have something like --output-recursive OUTPUT_PATH=gs://bucket/{job_id}?

@mbookman
Copy link
Contributor

mbookman commented Apr 4, 2022

Hi @sereeena!

Thanks for the suggestion. As you indicated, this seems like a very natural extension of the capabilities provided for the logging path.

Is the job_id the specific field you are interested in? Just want to make sure that the feature request, when implemented, would fulfill your use case.

Thanks!

@sereeena
Copy link
Author

sereeena commented Apr 5, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants