You are viewing documentation of Keptn that is currently under development and subject to change.

keptn send event start-evaluation

keptn send event start-evaluation

Sends an start-evaluation event to Keptn in order to evaluate a test for the specified service in the provided project and stage

Synopsis

Sends a start-evaluation event to Keptn in order to evaluate a test for the specified service in the provided project and stage.

This command takes the project (–project), stage (–stage), and the service (–service), which should be evaluated. Besides, it is necessary to specify a time frame (–timeframe) of the evaluation. If, for example, the flag is set to –timeframe=5m, the evaluation is conducted for the last 5 minutes. To specify a particular starting point, the flag –start flag can be used. In this case, the specified time frame is added to the starting point.

keptn send event start-evaluation [flags]

Examples

keptn send event start-evaluation --project=sockshop --stage=hardening --service=carts --timeframe=5m --start=2019-10-31T11:59:59
    keptn send event start-evaluation --project=sockshop --stage=hardening --service=carts --start=2019-10-31T11:59:59 --end=2019-10-31T12:04:59 --labels=test-id=1234,test-name=performance-test

Options

      --end string              The end point to which the evaluation data should be gathered in UTC (can not be used together with --timeframe)
  -h, --help                    help for start-evaluation
  -l, --labels stringToString   Additional labels to be provided to the lighthouse service (default [])
      --project string          The project containing the service to be evaluated
      --service string          The service to be evaluated
      --stage string            The stage containing the service to be evaluated
      --start string            The starting point from which to start the evaluation in UTC
      --timeframe string        The time frame from which the evaluation data should be gathered (can not be used together with --end)

Options inherited from parent commands

      --mock                 mocking of server communication - ATTENTION: your commands will not be sent to the keptn server
  -q, --quiet                suppress debug and info output
      --suppress-websocket   disables websocket communication - use the ID of Keptn context (if provided) for checking the result of your command
  -v, --verbose              verbose logging

SEE ALSO

Auto generated by spf13/cobra on 29-Apr-2020