opentf-ctl
¶
Note
opentf-ctl
is a component of opentf-tools
, which must be installed before use. Please
refer to “Install tools” for more information on how to install.
The OpenTestFactory command-line tool, opentf-ctl
, allows you to run commands against
orchestrators. You can use opentf-ctl
to run workflows, inspect and manage orchestrator
resources, and view workflow logs.
Basic Commands¶
get workflows
List active and recent workflowsrun workflow {filename}
Start a workflowget workflow {workflow_id}
Get a workflow statuskill workflow {workflow_id}
Cancel a running workflow
Agent Commands¶
get agents
List registered agentsdelete agent {agent_id}
De-register an agent
Channel Commands¶
get channels
List known channels
Quality Gate Commands¶
get qualitygate {workflow_id}
Get quality gate status for a workflowdescribe qualitygate {workflow_id}
Get description of a quality gate status for a workflow
Attachment Commands¶
get attachments {workflow_id}
List workflow attachmentscp {workflow_id}:{...} {destination}
Copy a workflow attachment or workflow attachments to the local destinationgenerate report {workflow_id} using {file}
Generate an Insight Collector report for a workflow
Data Sources Commands¶
get datasource {workflow_id}
Get workflow data sources
Token Commands¶
generate token using {key}
Interactively generate a signed tokencheck token {token} using {key}
Check if token signature matches public keyview token {token}
Show token payload
Advanced Commands¶
get namespaces
List accessible namespacesget subscriptions
List active subscriptionsdelete subscription {sub_id}
Cancel an active subscription