forked from argoproj/argo-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Enhanced e2e tests (argoproj#5128)
Signed-off-by: Alex Collins <[email protected]>
- Loading branch information
Showing
100 changed files
with
488 additions
and
443 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ run: | |
- cli | ||
- cron | ||
- executor | ||
- examples | ||
- functional | ||
linters: | ||
enable: | ||
|
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,43 @@ | ||
# This workflows shows capturing the result code of a workflow. | ||
kind: Workflow | ||
apiVersion: argoproj.io/v1alpha1 | ||
metadata: | ||
generateName: output-result- | ||
labels: | ||
workflows.argoproj.io/test: "true" | ||
annotations: | ||
workflows.argoproj.io/verify.py: | | ||
assert status["phase"] == "Succeeded" | ||
assert nodes["a"]["phase"] == "Succeeded" | ||
assert nodes["a"]["outputs"]["exitCode"] == "0" | ||
assert nodes["a"]["outputs"]["result"] == "foo" | ||
spec: | ||
entrypoint: main | ||
templates: | ||
- name: main | ||
dag: | ||
tasks: | ||
- name: a | ||
arguments: | ||
parameters: | ||
- name: p-0 | ||
value: "foo" | ||
template: pod-0 | ||
- name: b | ||
template: pod-0 | ||
dependencies: | ||
- a | ||
arguments: | ||
parameters: | ||
- name: p-0 | ||
value: "{{tasks.a.outputs.result}}" | ||
- name: pod-0 | ||
inputs: | ||
parameters: | ||
- name: p-0 | ||
container: | ||
image: argoproj/argosay:v2 | ||
args: | ||
- echo | ||
- "{{inputs.parameters.p-0}}" | ||
- /dev/stdout |
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
Oops, something went wrong.