Commit ce8aed20 authored by Subashis's avatar Subashis

Add descriptions to PipelineConfigSourceEnum

parent 741400a0
...@@ -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
......
...@@ -7807,15 +7807,15 @@ Rotation length unit of an on-call rotation. ...@@ -7807,15 +7807,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