Skip to main content

View

Command

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

For more information, you can run vela view service --help.

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
tip

This command also supports setting the following parameters via a configuration file:

  • org
  • repo
  • output

For more information, please review the CLI config documentation.

Permissions

COMING SOON!

Sample

warning

This section assumes you have already installed and setup the CLI.

To install the CLI, please review the installation documentation.

To setup the CLI, please review the authentication documentation.

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"