1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-22 06:02:51 +00:00
catalog/task/cloudevent/0.1
pratap0007 ad15089f3a Modifies cloudevent task according to the new reorg proposal
Changes include:
  - adds version label
  - adds a minimum pipeline versions supported by the task
  - adds tags for task
  - modified description to add a summary

This patch moves the cloudevent files to the task directory and
renames the yaml file
  - The yaml filename is changed to match the resource name

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-10 22:06:57 +01:00
..
tests Modifies cloudevent task according to the new reorg proposal 2020-07-10 22:06:57 +01:00
cloudevent.yaml Modifies cloudevent task according to the new reorg proposal 2020-07-10 22:06:57 +01:00
README.md Modifies cloudevent task according to the new reorg proposal 2020-07-10 22:06:57 +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 > task.yaml

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