-
Notifications
You must be signed in to change notification settings - Fork 809
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pipeline_templates): Support jinja expressions in template varia…
…bles (#1571) Imagine the following managed pipeline that is triggered with: ``` shouldWait: true regions: us-west-2,us-east-1 ``` ``` --- schema: "1" id: waitChain variables: - name: shouldWait defaultValue: "{{ trigger.parameters.shouldWait == true }}" - name: regions defaultValue: "{{ trigger.parameters.regions | split(',') }}" stages: - id: wait1 type: wait config: waitTime: 1 when: - "{{ shouldWait == true }}" - id: bake type: bake dependsOn: [wait1] config: ... regions: | {% for region in regions %} - "{{ region }}" {% endfor %} when: - "{{ regions | length > 0 }}" ```
- Loading branch information
Showing
3 changed files
with
66 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters