Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ce8aed20
Commit
ce8aed20
authored
Mar 18, 2021
by
Subashis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add descriptions to PipelineConfigSourceEnum
parent
741400a0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
app/graphql/types/ci/pipeline_config_source_enum.rb
app/graphql/types/ci/pipeline_config_source_enum.rb
+2
-1
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+9
-9
No files found.
app/graphql/types/ci/pipeline_config_source_enum.rb
View file @
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
...
...
doc/api/graphql/reference/index.md
View file @
ce8aed20
...
...
@@ -7807,15 +7807,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`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment