Skip to content

Pipelines — Configuration

The pipelines domain reads one optional section of .goga/config.yml — pipeline, the pipeline execution settings. The section must be present: goga pipeline exits with a ClickException naming pipeline when it is absent, and the guard fires in every form — run, list, and info alike.

pipeline:
  agent: claude        # the agent that runs the stages inside the container
  env: {}              # env layer applied in-container around the afm launch
  proxy: http://corp:3128
  hosts: {foo.local: "127.0.0.1"}
Field Type Required Description
pipeline.agent string No AI agent that runs the pipeline stages inside the container. Optional at the loader level — absent/YAML-null/empty/whitespace resolves to None. When None, the agent may be supplied by the workflow's global agent key or a per-stage workflow override (see Workflows), or the stage runs with the pipeline's default agent, so goga pipeline does not require it. Same resolution mechanic and baseline set as build.agent — see Agents
pipeline.env mapping No Environment variables applied in-container as the afm launch env layer — on top of the inherited container environment, for the afm subprocess (and the agents it launches) only; they never enter the container env-file. The workflow's global env key merges key-wise above this map (the workflow wins per key — see Workflows); -e KEY=VALUE wins on key conflict; the engine keys (AFM_DIR, AFM_DOCKER_FILE_ROOTS, HTTP_PROXY, HTTPS_PROXY, NO_PROXY, GOGA_PROFILE, GOGA_WORKFLOW, GOGA_HOME_PROFILES, GOGA_EXTRA_ENV) are dropped silently (launch mechanics). The effective profile is additionally exported as GOGA_PROFILE into the afm launch layer, so a nested in-stage goga build inherits it. Keys and values must be strings. Defaults to {}
pipeline.proxy string No HTTP/HTTPS proxy URL for the pipeline container. When set, HTTP_PROXY/HTTPS_PROXY/NO_PROXY=localhost,127.0.0.1 are written to the container env-file. Overridden by the --proxy CLI option
pipeline.hosts mapping No Host→IP mapping for docker run --add-host. Defaults to {}. Augmented by the repeatable --add-host CLI option (CLI wins on key conflict)

Two adjacent settings the domain consumes live at the top level of the file, not inside the section: image — the container image both goga build and goga pipeline launch — and dockerfile — the project Dockerfile goga pipeline --update builds from when set (see Project Configuration).

The general file location, loading rules, and the shared example live in Project Configuration.