1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-21 05:55:35 +00:00
catalog/task/cloudevent/0.1
vinamra28 32f2913fd2 Fix Catlin error by adding Digest to the Images
- Previously catalog's task has some images that are not
  tagged properly,this patch fixes these images by adding
  the digest
- Soon once Catlin is added to the CI it will throw error
  for those images which don't have proper tags

co-authored by:- @PuneetPunamiya

Signed-off-by: vinamra28 <vinjain@redhat.com>
2020-10-26 09:03:20 +00:00
..
config Add cloudevent task and fix to fit new formatting 2020-07-16 19:35:58 +01:00
samples Add cloudevent task and fix to fit new formatting 2020-07-16 19:35:58 +01:00
cloudevent.yaml Fix Catlin error by adding Digest to the Images 2020-10-26 09:03:20 +00:00
README.md Add cloudevent task and fix to fit new formatting 2020-07-16 19:35:58 +01:00

CloudEvent Task

Task to send a single CloudEvent to a specified sink.

Parameters

  • sink: Sink is the uri to send the event to

  • eventID: Event ID to send

  • eventType: The event type to send

    default: "tekton.cloudevent.message"

  • source: Source to be set in the Cloudevent metadata.

    default: "cloudevent-catalog-task"

  • data: Data payload to deliver

    default: ""`

Development

The ko tool is required to update the task.yaml - see these installation instructions.

Once you have ko, you can build the binary and resolve the task yaml into installable yaml.

ko resolve -f config/task.yaml > cloudevent.yaml

The go import path will be replaced in the yaml by the built container.