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
4a434609
Commit
4a434609
authored
Mar 31, 2021
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add descriptions for PipelineStatusEnum
parent
0d254f40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
12 deletions
+28
-12
app/graphql/types/ci/pipeline_status_enum.rb
app/graphql/types/ci/pipeline_status_enum.rb
+17
-1
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+11
-11
No files found.
app/graphql/types/ci/pipeline_status_enum.rb
View file @
4a434609
...
...
@@ -3,8 +3,24 @@
module
Types
module
Ci
class
PipelineStatusEnum
<
BaseEnum
descriptions
=
{
created:
'Pipeline has been created'
,
waiting_for_resource:
'A resource (for example, a runner) that the pipeline requires to run is unavailable'
,
preparing:
'Pipeline is preparing to run'
,
pending:
'Pipeline has not started running yet'
,
running:
'Pipeline is running'
,
failed:
'At least one stage of the pipeline failed'
,
success:
'Pipeline completed successfully'
,
canceled:
'Pipeline was canceled before completion'
,
skipped:
'Pipeline was skipped'
,
manual:
'Pipeline needs to be manually started'
,
scheduled:
'Pipeline is scheduled to run'
}
::
Ci
::
Pipeline
.
all_state_names
.
each
do
|
state_symbol
|
value
state_symbol
.
to_s
.
upcase
,
value:
state_symbol
.
to_s
value
state_symbol
.
to_s
.
upcase
,
description:
descriptions
[
state_symbol
],
value:
state_symbol
.
to_s
end
end
end
...
...
doc/api/graphql/reference/index.md
View file @
4a434609
...
...
@@ -7878,17 +7878,17 @@ Rotation length unit of an on-call rotation.
| Value | Description |
| ----- | ----------- |
|
`CANCELED`
| |
|
`CREATED`
| |
|
`FAILED`
| |
|
`MANUAL`
| |
|
`PENDING`
| |
|
`PREPARING`
| |
|
`RUNNING`
| |
|
`SCHEDULED`
| |
|
`SKIPPED`
| |
|
`SUCCESS`
| |
|
`WAITING_FOR_RESOURCE`
| |
|
`CANCELED`
|
Pipeline was canceled before completion.
|
|
`CREATED`
|
Pipeline has been created.
|
|
`FAILED`
|
At least one stage of the pipeline failed.
|
|
`MANUAL`
|
Pipeline needs to be manually started.
|
|
`PENDING`
|
Pipeline has not started running yet.
|
|
`PREPARING`
|
Pipeline is preparing to run.
|
|
`RUNNING`
|
Pipeline is running.
|
|
`SCHEDULED`
|
Pipeline is scheduled to run.
|
|
`SKIPPED`
|
Pipeline was skipped.
|
|
`SUCCESS`
|
Pipeline completed successfully.
|
|
`WAITING_FOR_RESOURCE`
|
A resource (for example, a runner) that the pipeline requires to run is unavailable.
|
### `ProjectMemberRelation`
...
...
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