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 validate command #121

Closed
tetienne opened this issue Mar 22, 2022 · 1 comment
Closed

Add validate command #121

tetienne opened this issue Mar 22, 2022 · 1 comment
Labels

Comments

@tetienne
Copy link

I would like to add a bk validate <path/to/file.yml> to the various git hooks we uses at my enterprise.
The purpose of this command would be to check/validate the syntax of the given file is well a correct pipeline and the syntax is ok.
It would also allow to validate dynamic configuration: my_super_script.sh | bk validate -

@mcncl
Copy link
Contributor

mcncl commented Sep 29, 2024

👋 Thanks for this issue. It seems like it would be a useful tool, however we don't have scope to work on something like this right now and I'm not sure how it would actually eventually look in the CLI. I like the idea of a pipeline validator, but it would likely just validate the YAML in a file, rather than support dynamic function etc right now.

@mcncl mcncl closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants