Skip to main content

Approve

Command

$ vela approve build <parameters...> <arguments...>
tip

For more information, you can run vela approve build --help.

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the buildVELA_ORG, BUILD_ORG
reponame of repository for the buildVELA_REPO, BUILD_REPO
buildnumber of the buildVELA_BUILD, BUILD_NUMBER
outputformat the output for the buildVELA_OUTPUT, BUILD_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 approve build --build 1

Targeted Request

$ vela approve build --org github --repo octocat --build 1

Response

"successfully approved build github/octocat/1"