-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0354635
commit a087fe3
Showing
14 changed files
with
595 additions
and
9 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
examples/v1/pipelineruns/alpha/pipelinerun-inputs-params.yaml
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,24 @@ | ||
apiVersion: tekton.dev/v1 | ||
kind: PipelineRun | ||
metadata: | ||
generateName: inputs-params- | ||
spec: | ||
inputs: | ||
params: | ||
param1: "1" | ||
param2: "2" | ||
pipelineSpec: | ||
inputs: | ||
params: | ||
param1: | ||
type: string | ||
param2: | ||
type: string | ||
tasks: | ||
- name: generate-suffix | ||
taskSpec: | ||
steps: | ||
- name: echo | ||
image: alpine | ||
script: | | ||
echo $(params.param1)$(params.param2) |
29 changes: 29 additions & 0 deletions
29
examples/v1/pipelineruns/alpha/pipelinerun-outputs-results.yaml
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,29 @@ | ||
apiVersion: tekton.dev/v1 | ||
kind: PipelineRun | ||
metadata: | ||
generateName: outputs-results- | ||
spec: | ||
pipelineSpec: | ||
outputs: | ||
results: | ||
commit: | ||
value: $(tasks.task1.results.commit) | ||
type: string | ||
sha: | ||
value: $(tasks.task1.results.sha) | ||
type: string | ||
tasks: | ||
- name: task1 | ||
taskSpec: | ||
outputs: | ||
results: | ||
commit: | ||
type: string | ||
sha: | ||
type: string | ||
steps: | ||
- name: echo | ||
image: bash:latest | ||
script: | | ||
echo "abc" | tee $(results.commit.path) | ||
echo "123" | tee $(results.sha.path) |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.