Commit 57b1b32b authored by Sean McGivern's avatar Sean McGivern

Merge branch '299489-doc-for-config-sources-enum' into 'master'

Add descriptions to PipelineConfigSourceEnum

See merge request gitlab-org/gitlab!57003
parents 45b76e0c ce8aed20
......@@ -4,7 +4,8 @@ module Types
module Ci
class PipelineConfigSourceEnum < BaseEnum
::Enums::Ci::Pipeline.config_sources.keys.each do |state_symbol|
value state_symbol.to_s.upcase, value: state_symbol.to_s
description = state_symbol == :auto_devops_source ? "Auto DevOps source." : "#{state_symbol.to_s.titleize.capitalize}." # This is needed to avoid failure in doc lint
value state_symbol.to_s.upcase, value: state_symbol.to_s, description: description
end
end
end
......
......@@ -7842,15 +7842,15 @@ Rotation length unit of an on-call rotation.
| Value | Description |
| ----- | ----------- |
| `AUTO_DEVOPS_SOURCE` | |
| `BRIDGE_SOURCE` | |
| `COMPLIANCE_SOURCE` | |
| `EXTERNAL_PROJECT_SOURCE` | |
| `PARAMETER_SOURCE` | |
| `REMOTE_SOURCE` | |
| `REPOSITORY_SOURCE` | |
| `UNKNOWN_SOURCE` | |
| `WEBIDE_SOURCE` | |
| `AUTO_DEVOPS_SOURCE` | Auto DevOps source. |
| `BRIDGE_SOURCE` | Bridge source. |
| `COMPLIANCE_SOURCE` | Compliance source. |
| `EXTERNAL_PROJECT_SOURCE` | External project source. |
| `PARAMETER_SOURCE` | Parameter source. |
| `REMOTE_SOURCE` | Remote source. |
| `REPOSITORY_SOURCE` | Repository source. |
| `UNKNOWN_SOURCE` | Unknown source. |
| `WEBIDE_SOURCE` | Webide source. |
### `PipelineStatusEnum`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment