Skip to content

Commit

Permalink
Update current_workflow_job_templates.j2
Browse files Browse the repository at this point in the history
Add `multiline=True` to treat multiple lines
  • Loading branch information
ivarmu authored Jul 16, 2024
1 parent e62f16b commit 4be668b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ controller_workflows:
webhook_service: "{{ current_workflow_job_templates_asset_value.webhook_service }}"
{% if current_workflow_job_templates_asset_value.extra_vars and current_workflow_job_templates_asset_value.extra_vars | length > 3 %}
extra_vars:
{{ current_workflow_job_templates_asset_value.extra_vars | from_yaml | to_nice_yaml(indent=2) | indent(width=6, first=False) | regex_replace('(^[^:]*): (.*){{', '\1: !unsafe \2{{') }}
{{ current_workflow_job_templates_asset_value.extra_vars | from_yaml | to_nice_yaml(indent=2) | indent(width=6, first=False) | regex_replace('(^[^:]*): (.*){{', '\1: !unsafe \2{{', multiline=True) }}
{%- endif %}
{% if query_labels | length > 0 %}
labels:
Expand Down

0 comments on commit 4be668b

Please sign in to comment.