-
Notifications
You must be signed in to change notification settings - Fork 806
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pipeline_template): Jinja rendering in triggers, params and noti…
…fications (#1619)
- Loading branch information
1 parent
a0089d2
commit 92d7270
Showing
13 changed files
with
104 additions
and
8 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,5 +30,6 @@ | |
} | ||
], | ||
"id": "unknown", | ||
"notifications": [] | ||
"notifications": [], | ||
"parameterConfig": [] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,5 +35,6 @@ | |
] | ||
} | ||
], | ||
"notifications": [] | ||
"notifications": [], | ||
"parameterConfig": [] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,5 +40,6 @@ | |
"waitTime": 5 | ||
} | ||
], | ||
"notifications": [] | ||
"notifications": [], | ||
"parameterConfig": [] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,5 +31,6 @@ | |
"waitTime": 5 | ||
} | ||
], | ||
"notifications": [] | ||
"notifications": [], | ||
"parameterConfig": [] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,5 +62,6 @@ | |
} | ||
], | ||
"id": "unknown", | ||
"notifications": [] | ||
"notifications": [], | ||
"parameterConfig": [] | ||
} |
7 changes: 7 additions & 0 deletions
7
orca-pipelinetemplate/src/test/resources/integration/v1schema/variableParameters-config.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
schema: "1" | ||
pipeline: | ||
application: orca | ||
configuration: | ||
inherit: ['parameters'] | ||
stages: [] |
16 changes: 16 additions & 0 deletions
16
...pipelinetemplate/src/test/resources/integration/v1schema/variableParameters-expected.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"id": "unknown", | ||
"keepWaitingPipelines": false, | ||
"limitConcurrent": true, | ||
"application": "orca", | ||
"name": "Unnamed Execution", | ||
"stages": [], | ||
"notifications": [], | ||
"parameterConfig": [ | ||
{ | ||
"name": "instances", | ||
"description": "Number of instances to start per region", | ||
"default": 3 | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
...-pipelinetemplate/src/test/resources/integration/v1schema/variableParameters-template.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
schema: "1" | ||
id: variableParameters | ||
metadata: | ||
name: Variable Parameters | ||
description: Asserts that variables can be used in parameters. | ||
configuration: | ||
parameters: | ||
- name: instances | ||
description: Number of instances to start per region | ||
default: "{{ instances }}" | ||
variables: | ||
- name: instances | ||
description: The number of instances to start per region | ||
defaultValue: 3 | ||
stages: [] |