Skip to content

Commit

Permalink
Merge branch 'master' into assessment-suggestions-yann
Browse files Browse the repository at this point in the history
  • Loading branch information
yaningo authored Oct 18, 2024
2 parents 19f1a1d + e20f3e3 commit 462e01f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions jekyll/_cci2/configuration-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,11 @@ Each job consists of the job's name as a key and a map as a value. A name should
|===
| Key | Required | Type | Description

| `type`
| N
| String
| Job type, can be `build`, `release` or `approval`. If not specified, defaults to `build`.

| `docker`
| Y ^(1)^
| List
Expand Down Expand Up @@ -748,6 +753,17 @@ Each job consists of the job's name as a key and a map as a value. A name should

'''

[#job-type]
==== `type`

Configure a job type. Options are `release`, `approval`, `build` (default). If a type is not specified, the job defaults to a `build` type.

Jobs with the `release` type are used to xref:/release/configure-your-kubernetes-components#link-release[connect your pipeline configuration] to a release in the CircleCI releases UI. For full details, see the xref:/release/releases-overview#[Releases overview] page.

The `approval` type is used to configure a manual approval step. No `job` configuration is required or allowed for an `approval` type job. The `approval` type is most commonly configured within a workflow rather than under the top-level `jobs` key. Only `approval` type jobs can have their `type` configured under `workflows`. See <<type,type under workflows section>> for full details.

'''

[#environment]
==== `environment`

Expand Down

0 comments on commit 462e01f

Please sign in to comment.