We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tkn taskrun describe taskrun_name
This should show the description of taskrun
tkn taskrun describe task-59p7t Failed to execute templateError: template: Describe taskrun:3:21: executing "Describe taskrun" at <.TaskRun.Spec.TaskRef.Name>: nil pointer evaluating *v1alpha1.TaskRef.Name
apiVersion: tekton.dev/v1alpha1 kind: TaskRun metadata: generateName: task- spec: taskSpec: steps: - name: test image: ubuntu command: ["/bin/bash"] args: - -c - | set -e set -x echo hello world
tkn taskrun list NAME STARTED DURATION STATUS task-59p7t 2 minutes ago 13 seconds Succeeded
CLI version 0.4.0
The text was updated successfully, but these errors were encountered:
/kind bug
Sorry, something went wrong.
We need to make sure this is also the case for PipelineRun too (with ResourceSpec too). See:
Is there a way to check if a field exists within the template? This is due to .TaskRun.Spec.TaskRef.Name not being present.
.TaskRun.Spec.TaskRef.Name
This would also be nice to figure out for use cases like displaying the status of a step as part of tkn taskrun describe.
tkn taskrun describe
We could also potentially look at adding a method to formatted to check if a field is present on the TaskRun spec.
/assign
danielhelfand
Successfully merging a pull request may close this issue.
Expected Behavior
This should show the description of taskrun
Actual Behavior
Steps to Reproduce the Problem
Additional Info
CLI version 0.4.0
The text was updated successfully, but these errors were encountered: