Skip to main content

View

Command

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

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

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the logVELA_ORG, LOG_ORG
reponame of repository for the logVELA_REPO, LOG_REPO
buildnumber of the build for the logVELA_BUILD, LOG_BUILD
servicenumber of the service for the logVELA_SERVICE, LOG_SERVICE
stepnumber of the step for the logVELA_STEP, LOG_STEP
outputformat the output for the logsVELA_OUTPUT, LOG_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 log --build 5 --step 1

Targeted Request

$ vela view log --org github --repo octocat --build 5 --step 1

Response

$ git init
Initialized empty Git repository in /vela/src/github.com/github/octocat/.git/
$ git remote add origin https://github.com/github/octocat.git
$ git remote --verbose
origin https://github.com/github/octocat.git (fetch)
origin https://github.com/github/octocat.git (push)
$ git fetch --no-tags origin refs/heads/main
From https://github.com/github/octocat
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
$ git reset --hard afafce5e33a8efd4340613b31a953107d6dec3a3
HEAD is now at afafce5 Dummy commit