Keptn v1 reached EOL December 22, 2023. For more information see https://bit.ly/keptn
This documentation is for an older Keptn release. Please consider the newest one when working with the latest Keptn.

keptn send event

keptn send event

Sends an event to Keptn

Synopsis

Sends an arbitrary Keptn event that is defined in the provided JSON file. An event has to follow the CloudEvents specification (https://cloudevents.io/) in version 0.2 and has to be written in JSON. In addition, the payload of the CloudEvent needs to follow the Keptn spec (https://github.com/keptn/spec/blob/0.1.4/cloudevents.md).

keptn send event --file=FILEPATH [flags]

Examples

keptn send event --file=./new_artifact_event.json

Options

  -f, --file string   The file containing the event as Cloud Event in JSON.

Options inherited from parent commands

      --config-file string   Specify custom Keptn Config file path (default: ~/.keptn/config)
  -h, --help                 help
      --mock                 Disables communication to a Keptn endpoint
  -n, --namespace string     Specify the namespace where Keptn should be installed, used and uninstalled in (default "keptn")
  -q, --quiet                Suppresses debug and info messages
  -v, --verbose              Enables verbose logging to print debug messages
  -y, --yes                  Assume yes for all user prompts

SEE ALSO

Auto generated by spf13/cobra on 31-Jan-2022