-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: user_executor inside user_executor (#380)
close #371 fix display info from user executor Signed-off-by: Yvonnick Esnault <[email protected]>
- Loading branch information
Showing
11 changed files
with
84 additions
and
23 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
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,10 @@ | ||
executor: userExecutorA | ||
input: | ||
foo: defaultValueA | ||
steps: | ||
- script: echo '{{.input.foo}}' | ||
info: 'value on A: {{.input.foo}}' | ||
assertions: | ||
- result.code ShouldEqual 0 | ||
- type: userExecutorB | ||
foo: '{{.input.foo}}_on_b' |
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,12 @@ | ||
executor: userExecutorB | ||
input: | ||
foo: defaultValueB | ||
steps: | ||
|
||
- script: echo '{{.input.foo}}' | ||
info: 'value on B: {{.input.foo}}' | ||
- type: exec | ||
script: echo 'input.foo {{.input.foo}}; fooFromEnv {{.foo}}' | ||
assertions: | ||
- result.code ShouldEqual 0 | ||
- result.systemout ShouldEqual input.foo foo_from_vars_on_b; fooFromEnv foo_from_vars |
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,12 @@ | ||
name: Many user executor | ||
vars: | ||
foo: "foo_from_vars" | ||
|
||
testcases: | ||
- name: info | ||
steps: | ||
- script: echo "foo" | ||
info: 'value foo vars {{.foo}}' | ||
- name: mytc | ||
steps: | ||
- type: userExecutorA |
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