Pipeline Inputs

For pipelines using spec: inputs:, pass values via CLI flags or a YAML file.

Usage#

glci run --input force_build=true --input runner_version=17.6.0
glci run --inputs-file inputs.yml
glci run --inputs-file defaults.yml --input force_build=true  # CLI overrides file
glci show --input force_build=true                            # works with show too

Input types#

TypeAccepted valuesNormalization
stringAny valueNone
booleantrue, false, yes, no, 1, 0Normalized to true/false
numberAny valid numberNone
arrayAny valueFormatted as YAML flow sequence

Inputs file format#

# inputs.yml
force_build: true
runner_version: "17.6.0"
environment: staging

Validation#

glci validates inputs before starting the pipeline:

Interactive TUI#

The TUI (glci with no subcommand) shows an input form with descriptions and defaults pre-filled. Required inputs are highlighted and validated before submission.

Esc