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

fix(pipelinetemplate): Add template variables to module tag #3493

Merged

Conversation

jervi
Copy link
Contributor

@jervi jervi commented Mar 5, 2020

According to documentation, the module tag should be able to use variables both from the pipeline template and variables scoped strictly to the module, however only the latter was the case. Fixed by adding the template variables to the render context.

According to documentation, the module tag should be able to use variables both from the template and variables scoped strictly to the module, however only the latter was the case. Fixed by adding the template variables to the render context.
@jervi
Copy link
Contributor Author

jervi commented Mar 9, 2020

@spinnaker/oss-approvers PTAL 🙂

@robzienert
Copy link
Member

Needs tests.

@robzienert robzienert added ready to merge Approved and ready for merge and removed awaiting submitter labels Mar 20, 2020
@mergify mergify bot merged commit db7849f into spinnaker:master Mar 20, 2020
@mergify mergify bot added the auto merged Merged automatically by a bot label Mar 20, 2020
@jervi jervi deleted the add_template_values_to_jinja_module_tag branch March 20, 2020 18:15
KathrynLewis pushed a commit to KathrynLewis/orca that referenced this pull request Jan 31, 2021
…r#3493)

* fix(pipelinetemplate): Add template variables to module tag

According to documentation, the module tag should be able to use variables both from the template and variables scoped strictly to the module, however only the latter was the case. Fixed by adding the template variables to the render context.

* Added test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for merge target-release/1.20
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants