tektoncd / pipeline

A cloud-native Pipeline resource.
https://tekton.dev
Apache License 2.0
8.43k stars 1.77k forks source link

TaskRun results not present in cloudevents #7207

Open melnikalex opened 11 months ago

melnikalex commented 11 months ago

Expected Behavior

Cloudevents that are sent for completed TaskRuns should embed task results in the status (like it does when I run kubectl get taskrun).

Actual Behavior

The completed TaskRun is missing results.

Steps to Reproduce the Problem

  1. Deploy tekton
  2. Deploy a basic server to receive cloudevents (e.g. https://github.com/typicode/json-server)
  3. Configure cloudevents sink to send to your server (https://tekton.dev/docs/pipelines/additional-configs/#configuring-cloudevents-notifications)
  4. Run a pipeline
  5. Inspect the received cloudevents and observe missing results

Additional Info

Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.16-eks-2d98532", GitCommit:"af930c12e26ef9d1e8fac7e3532ff4bcc1b2b509", GitTreeState:"clean", BuildDate:"2023-07-28T16:52:47Z", GoVersion:"go1.20.6", Compiler:"gc", Platform:"linux/amd64"}
v0.49.0
pritidesai commented 10 months ago

/cc @afrittoli