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

Validate builders before running #11

Open
eons44 opened this issue Sep 17, 2022 · 0 comments
Open

Validate builders before running #11

eons44 opened this issue Sep 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@eons44
Copy link
Contributor

eons44 commented Sep 17, 2022

It should be possible to check all arguments required for all build steps against those provided before executing the first build step.
This would need to be done in a function so that builders which change the next builder (e.g. proxy or in_container) can dynamically validate the args of their downstream targets.
Because builders may change environment variables or pass additional arguments to their children, a validation process like this can never be guaranteed 100% to work. However, failing faster and giving the user information on what to fix would be a dramatic improvement over the current state of "run it and find out!".

@eons44 eons44 added the enhancement New feature or request label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant