mirror of
https://github.com/tektoncd/catalog.git
synced 2024-12-01 06:43:19 +00:00
f4708d478e
At this moment all tasks which can be executed on linux/s390x or linux/ppc64le are tested and labelled accordingly. The rest of the tasks can be labelled as `linux/amd64`, which is default platform and where tasks are already tested via default PR testing cycle. Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.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.
Platforms
The Task can be run on linux/amd64
platform.