cici config file format
This page is a reference for cici config file syntax. For a tutorial, see the Getting started section of the site
File
Top-level cici configuration object.
| Field | Default | Description |
|---|---|---|
name*string |
Name of the component. All lower-case, hyphen-separated expected.
|
|
repo_url*string |
Web URL for the source repository for this component.
|
|
gitlab_project_path*string (deprecated) |
Full project path for this component on Gitlab.
|
|
brief*string |
Short, one-line description of a component. Supports Markdown. |
|
description*string |
Multi-line description of a component. Supports Markdown. |
|
groupsGroup array |
[] |
List of groups to declare. |
targetsTarget array |
[] |
List of pipeline targets to declare. |
variablesobject |
{} |
Dictionary of input variables to declare. |
Container
Container runtime configuration for this target.
| Field | Default | Description |
|---|---|---|
image*string |
Container image to use for this target. |
|
entrypointstring array |
[] |
Container entrypoint to use for this target. |
GitLabIncludeTarget
Custom name for a GitLab CI/CD Include target.
| Field | Default | Description |
|---|---|---|
name*string |
Name of GitLab include target. |
Group
A logical set of pipeline targets.
| Field | Default | Description |
|---|---|---|
name*string |
Name of this group. |
|
brief*string |
Short, one-line description of this group. Supports Markdown. |
|
description*string |
Multi-line, long-form description of this group. Supports Markdown. |
PreCommitHookTarget
Custom name for a pre-commit hook target.
| Field | Default | Description |
|---|---|---|
name*string |
Name of pre-commit hook. |
Target
Defines a target pipeline to be generated.
| Field | Default | Description |
|---|---|---|
name*string |
Name of a pipeline target. All lower-case, hyphen-separated ( |
|
brief*string |
Short, one-line description of a pipeline target. Supports Markdown. |
|
description*string |
Multi-line, long-form description of a pipeline target. Supports Markdown. |
|
groupsstring array |
[] |
Denote a logical grouping of pipeline targets. |
tagsstring array |
[] |
Tags for curating jobs according to their purpose. |
containerContainer |
None |
Container runtime configuration for this pipeline target. |
precommit_hookPreCommitHookTarget (deprecated) |
None |
Configuration for the pre-commit hook. |
gitlab_includeGitLabIncludeTarget (deprecated) |
None |
Configuration for the GitLab CI/CD include. |
Variable
Defines a variable to be consumed by the target.
| Field | Default | Description |
|---|---|---|
name*string |
Name of a variable.
|
|
brief*string |
Short, one-line description of a variable. Supports Markdown. |
|
default*string |
Default value for this variable. |
|
description*string |
Multi-line, long-form description of this variable. Support Markdown. |
|
requiredboolean |
False |
Is this variable required to use the pipeline? |
examplesVariableExample array |
[] |
List of examples to demonstrate this variable. |
VariableExample
An example of how the provided variable should be used.
| Field | Default | Description |
|---|---|---|
value*string |
Example value for the variable. |
|
brief*string |
Short, one-line description of a variable example. |