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 pipeline CLI command does not work when replacing nested template #918

Open
ecrupper opened this issue Feb 26, 2024 · 0 comments
Open
Labels
bug Indicates a bug

Comments

@ecrupper
Copy link
Contributor

Description

Get the following error:

vela validate pipeline --template-file nested:template.yml 
FATA[0000] local template with name nested not included in pipeline templates

Even though nested is referenced in a template.

This could be "fixed" by removing these validation lines in the CLI, but that feels like a missed opportunity.

This issue does not exist in render_inline because the templates slice is kept updated throughout the compilation process.

Value

Even though the compilation works, the command fails, making validate essentially worthless if you want to local replace any nested templates.

Useful Information

  1. What is the output of vela --version?

v0.23.1

  1. What operating system is being used?
  1. Any other important details?
@ecrupper ecrupper added the bug Indicates a bug label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a bug
Projects
None yet
Development

No branches or pull requests

1 participant