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 RenderVerifier for templates #1327

Merged
merged 3 commits into from
Feb 7, 2020
Merged

Conversation

ANeumann82
Copy link
Member

What this PR does / why we need it:
Render the templates as part of the package verify command so we catch expression errors.

Fixes #1301

…emplate expressions

Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
Improve template engine error message to include correct template name

Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
@ANeumann82 ANeumann82 self-assigned this Feb 7, 2020
@ANeumann82 ANeumann82 merged commit 2fb38e4 into master Feb 7, 2020
@ANeumann82 ANeumann82 deleted the an/package-verify-render branch February 7, 2020 14:48
ANeumann82 added a commit that referenced this pull request Feb 13, 2020
* Add package verifier that renders the template to detect invalid go template expressions

Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
@kensipe kensipe mentioned this pull request Mar 10, 2020
runyontr pushed a commit that referenced this pull request Mar 11, 2020
* Add package verifier that renders the template to detect invalid go template expressions

Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
Signed-off-by: Thomas Runyon <runyontr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

package verify does not check template expressions
2 participants