View

Learn how to inspect a service.

Command

$ vela view service <parameters...> <arguments...>

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the serviceVELA_ORG, SERVICE_ORG
reponame of repository for the serviceVELA_REPO, SERVICE_REPO
buildnumber of build for the serviceVELA_BUILD, SERVICE_BUILD
servicenumber of the serviceVELA_SERVICE, SERVICE_NUMBER
outputformat the output for the serviceVELA_OUTPUT, SERVICE_OUTPUT

Permissions

COMING SOON!

Sample

Request

$ pwd
~/github/octocat
$ vela view service --build 1 --service 1

Targeted Request

$ vela get service --org github --repo octocat --build 1 --service 1

Response

id: 1
build_id: 1
repo_id: 1
number: 1
name: clone
status: success
error: ""
exitcode: 0
created: 1561748980
started: 1561748979
finished: 1561748981
host: "worker.host.com"
runtime: "docker"
distribution: "linux"