glab-ci-run - Man Page

Create or run a new CI/CD pipeline.

Synopsis

glab ci run [flags]

Description

Create or run a new CI/CD pipeline.

Options

-b, --branch="" Create pipeline on branch/ref .

--variables=[] Pass variables to pipeline in format :.

--variables-env=[] Pass variables to pipeline in format :.

--variables-file=[] Pass file contents as a file variable to pipeline in format :.

-f, --variables-from="" JSON file containing variables for pipeline execution.

Options Inherited from Parent Commands

--help[=false] Show help for this command.

-R, ā€‰--repo="" Select another repository. Can use either OWNER/REPO or GROUP/NAMESPACE/REPO
format. Also accepts full URL or Git URL.

Example

glab ci run
glab ci run -b main
glab ci run -b main --variables-env key1:val1
glab ci run -b main --variables-env key1:val1,key2:val2
glab ci run -b main --variables-env key1:val1 --variables-env key2:val2
glab ci run -b main --variables-file MYKEY:file1 --variables KEY2:some_value

See Also

glab-ci(1)

Referenced By

glab-ci(1).

Oct 2024 Auto generated by spf13/cobra