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

Add an 'out_dir' option to jsonnet_to_json() #184

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

EdSchouten
Copy link
Collaborator

If jsonnet_to_json() yields a large number of output files, or yields a set of paths that is not known up front, it would be preferable to store these in a directory artifact (i.e., created using ctx.actions.declare_directory()).

This change adds a new 'out_dir' option that causes the interpreter to be invoked with the -m flag. The -m flag will point to a single directory.

If jsonnet_to_json() yields a large number of output files, or yields a
set of paths that is not known up front, it would be preferable to store
these in a directory artifact (i.e., created using
ctx.actions.declare_directory()).

This change adds a new 'out_dir' option that causes the interpreter to
be invoked with the -m flag. The -m flag will point to a single
directory.
@EdSchouten EdSchouten force-pushed the eschouten/20240404-directory-output branch from 6018dc9 to fa2f86b Compare April 4, 2024 11:37
@EdSchouten EdSchouten merged commit 9f89452 into master Apr 4, 2024
4 checks passed
@EdSchouten EdSchouten deleted the eschouten/20240404-directory-output branch April 4, 2024 11:41
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

Successfully merging this pull request may close these issues.

1 participant