项目作者: robzienert

项目描述 :
CLI to get longest running Orca executions
高级语言: Go
项目地址: git://github.com/robzienert/orca-executions.git
创建时间: 2017-02-02T01:07:27Z
项目社区:https://github.com/robzienert/orca-executions

开源协议:Apache License 2.0

下载


orca-executions

app to get longest running Orca executions

Install

Get it from the releases page.

Usage

  1. Usage of orca-executions
  2. -debug
  3. Set if you want debug level logging
  4. -fields string
  5. Extra fields to return in the data table for each record, comma-delimited
  6. -filters string
  7. Extra filters in comma-delimited Key=Value format
  8. -quiet
  9. Set if you do not want logging enabled
  10. -redisAddr string
  11. The address for orca's redis instance (default "localhost:6379")
  12. -status string
  13. the execution status to filter on (default "RUNNING")
  14. -type string
  15. orchestration or pipeline (default "orchestration")
  • redisAddr the address to your redis host (defaults to localhost:6379)
  • type will default to orchestration
  • status will default to RUNNING
  • filters is a comma-delimited Key=Value list of filters.
  • quiet will disable logging
  • debug will enable debug-level logging

ExecutionStatus is one of the enum values here: https://github.com/spinnaker/orca/blob/master/orca-core/src/main/groovy/com/netflix/spinnaker/orca/ExecutionStatus.groovy

Filters

Filters are applied to each matching hash, inspecting individual hash keys and
their values. By default, filters will perform an equality comparison, but there
are other custom filters for doing more advanced inspection:

ContainsStage

orca-executions -type pipeline -filters ContainsStage=canary

Will return all running pipelines that contains a stage type of canary.

examples

orca-executions -status TERMINAL -filters parallel=false,canceled=true

Will return all executions with a status of TERMINAL, that are not parallel and
have been canceled.