openshift-pipelines / pipelines-as-code

Pipelines-as-Code for Tekton
https://pipelinesascode.com
Apache License 2.0
130 stars 80 forks source link

Report tekton yaml validation error to the user #1637

Closed chmouel closed 5 months ago

chmouel commented 6 months ago

The validation errors occurring in PipelineRuns as reported by the tekton controller within the .tekton directory are now reported directly in the event logs of the user namespaces along with the pipelinerun name where the error has occurred, this let a user troubleshoot the issue even if she or he doesn't have access to the controller log.

https://issues.redhat.com/browse/SRVKP-4318

Changes

Submitter Checklist

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 88.46154% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 64.18%. Comparing base (c703cd8) to head (2fe253b).

Files Patch % Lines
pkg/resolve/resolve.go 85.71% 2 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1637 +/- ## ========================================== + Coverage 64.09% 64.18% +0.09% ========================================== Files 140 140 Lines 10897 10921 +24 ========================================== + Hits 6984 7010 +26 + Misses 3380 3378 -2 Partials 533 533 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.