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 ...@@ -4,7 +4,8 @@ module Types
module Ci module Ci
class PipelineConfigSourceEnum < BaseEnum class PipelineConfigSourceEnum < BaseEnum
::Enums::Ci::Pipeline.config_sources.keys.each do |state_symbol| ::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 end
end end
......
...@@ -7842,15 +7842,15 @@ Rotation length unit of an on-call rotation. ...@@ -7842,15 +7842,15 @@ Rotation length unit of an on-call rotation.
| Value | Description | | Value | Description |
| ----- | ----------- | | ----- | ----------- |
| `AUTO_DEVOPS_SOURCE` | | | `AUTO_DEVOPS_SOURCE` | Auto DevOps source. |
| `BRIDGE_SOURCE` | | | `BRIDGE_SOURCE` | Bridge source. |
| `COMPLIANCE_SOURCE` | | | `COMPLIANCE_SOURCE` | Compliance source. |
| `EXTERNAL_PROJECT_SOURCE` | | | `EXTERNAL_PROJECT_SOURCE` | External project source. |
| `PARAMETER_SOURCE` | | | `PARAMETER_SOURCE` | Parameter source. |
| `REMOTE_SOURCE` | | | `REMOTE_SOURCE` | Remote source. |
| `REPOSITORY_SOURCE` | | | `REPOSITORY_SOURCE` | Repository source. |
| `UNKNOWN_SOURCE` | | | `UNKNOWN_SOURCE` | Unknown source. |
| `WEBIDE_SOURCE` | | | `WEBIDE_SOURCE` | Webide source. |
### `PipelineStatusEnum` ### `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