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

Allow cli overrides of render params #39

Open
grantkellyADSK opened this issue Feb 23, 2023 · 0 comments
Open

Allow cli overrides of render params #39

grantkellyADSK opened this issue Feb 23, 2023 · 0 comments
Labels
DevX Developer Experience related good first issue Good for newcomers

Comments

@grantkellyADSK
Copy link

Summary

Allow command line overrides of render params

Motivation

Overriding values is a common requirement when building reusable pipelines. Allowing values in an existing render.yml file to be overridden at the command line gives flexibility without having to rewrite the yaml file programmatically. jsonnet supports both "external variables" and "top-level arguments" as command line arguments.

Describe alternatives you've considered

  1. Rewriting the render.yml file before running shore render

Additional context

An example of the proposed syntax:

shore render --override foo=bar

where foo is a YAML key path, and bar is a YAML value.

@eyal-mor eyal-mor added DevX Developer Experience related good first issue Good for newcomers labels Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevX Developer Experience related good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants