mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-25 06:17:50 +00:00
5a3e5f630f
- Initially all tags were mapped to categories in Hub, for e.g. config.yaml: https://github.com/tektoncd/hub/blob/master/config.yaml, so whenever a new tag was added in a task it was mapped to a category called `others`. Hence before every release we had to manually map these new tags to some category, hence after the discussion in Catalog and Hub WG, a proposal was created for adding a category as an annotation. - PR to update the TEP-0003-Tekton Catalog Organization: https://github.com/tektoncd/community/pull/352 Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com> |
||
---|---|---|
.. | ||
config | ||
samples | ||
cloudevent.yaml | ||
README.md |
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.