-
Notifications
You must be signed in to change notification settings - Fork 104
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
Teach package verifier about pipe tasks. #1402
Conversation
@porridge as an FYI... the package verifier was intended to ignore new templating features it didn't know about... I'm on board with writing a solution for pipes... but I would like to make sure that errors are not reported for unknown features.. than fix pipe verification... perhaps this does that... I will be looking at the solution shortly. |
I agree with @zen-dog comments... also... It is worth the time to understand which commit caused this and why. This IMO there should be 2 distinct issues here:
With step 2 above... I would expect an error for all pipe defs which are incomplete... pipes are more difficult to know if the var is used or not... which is unfortunate... but we should ensure that the pipe task is formed well. |
Signed-off-by: Marcin Owsiany <mowsiany@D2iQ.com>
71de061
to
d529c3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm 🚢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woot
Signed-off-by: Marcin Owsiany <mowsiany@D2iQ.com> Signed-off-by: Thomas Runyon <runyontr@gmail.com>
Signed-off-by: Marcin Owsiany <mowsiany@D2iQ.com>
What this PR does / why we need it:
Collect keys from all pipetasks and feed that to template rendering in place of
an empty map. This has lots of room for improvement, but at least does not fail
on every single package which uses Pipe tasks.
Fixes #1398
Signed-off-by: Marcin Owsiany mowsiany@D2iQ.com