-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing code coverage for Array Results using [] notation #6574
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
/Assign |
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 24, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
7 tasks
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 26, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 26, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 26, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 26, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 26, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 27, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 27, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 27, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 27, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 27, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 28, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 28, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 28, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 28, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 28, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
tekton-robot
pushed a commit
that referenced
this issue
Apr 28, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: #6574.
EmmaMunley
added a commit
to EmmaMunley/pipeline
that referenced
this issue
Apr 28, 2023
This commit adds test coverage for a pipeline task that emit an array of results and test string replacements from the array of results using indexing. This addresses issue: tektoncd#6574.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
I was looking for an unit test of using array indexing to reference results in a pipelineTask.
It was confusing to me since the yaml example file with matrix results is different than the test in pipelinerun.go with the syntax:
https://github.com/XinruZhang/pipeline/blob/8b80e76f7ba28aa0281a7fa9d038f73dddad9b77/examples/v1beta1/pipelineruns/alpha/pipelinerun-with-matrix-and-results.yaml#L17
pipeline/pkg/reconciler/pipelinerun/pipelinerun_test.go
Line 8716 in a0b5cc5
A
B
Actual Behavior
Steps to Reproduce the Problem
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
The text was updated successfully, but these errors were encountered: