Skip to content

Commit

Permalink
Merge pull request #39 from truenas/validation-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k authored Jul 30, 2024
2 parents 945d831 + af67aba commit db98238
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps_validation/validate_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ def validate_template_rendering(app_path: str, schema: str, verrors: ValidationE
for test_values_file in test_values_files:
try:
rendered = render_templates(
app_path, get_values(os.path.join(get_test_values_dir_path(app_path), test_values_file))
app_path, get_values(os.path.join(get_test_values_dir_path(app_path), test_values_file)) | get_values(
os.path.join(app_path, 'ix_values.yaml')
)
)
except Exception as e:
verrors.add(schema, f'Failed to render templates using {test_values_file!r}: {e}')
Expand Down

0 comments on commit db98238

Please sign in to comment.