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
ce690aaf
Commit
ce690aaf
authored
May 06, 2021
by
lauraMon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds status to StageType in gql
Changelog: added
parent
0a7a0a2c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
app/graphql/types/ci/stage_type.rb
app/graphql/types/ci/stage_type.rb
+3
-0
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+1
-0
spec/graphql/types/ci/stage_type_spec.rb
spec/graphql/types/ci/stage_type_spec.rb
+1
-0
No files found.
app/graphql/types/ci/stage_type.rb
View file @
ce690aaf
...
...
@@ -22,6 +22,9 @@ module Types
null:
true
,
description:
'Jobs for the stage.'
,
method:
'latest_statuses'
field
:status
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'Status of the pipeline stage.'
def
detailed_status
object
.
detailed_status
(
current_user
)
...
...
doc/api/graphql/reference/index.md
View file @
ce690aaf
...
...
@@ -7642,6 +7642,7 @@ Represents the total number of issues and their weights for a particular day.
|
<a
id=
"cistagegroups"
></a>
`groups`
|
[
`CiGroupConnection`
](
#cigroupconnection
)
| Group of jobs for the stage. (see
[
Connections
](
#connections
)
) |
|
<a
id=
"cistagejobs"
></a>
`jobs`
|
[
`CiJobConnection`
](
#cijobconnection
)
| Jobs for the stage. (see
[
Connections
](
#connections
)
) |
|
<a
id=
"cistagename"
></a>
`name`
|
[
`String`
](
#string
)
| Name of the stage. |
|
<a
id=
"cistagestatus"
></a>
`status`
|
[
`String`
](
#string
)
| Status of the pipeline stage. |
### `CiTemplate`
...
...
spec/graphql/types/ci/stage_type_spec.rb
View file @
ce690aaf
...
...
@@ -10,6 +10,7 @@ RSpec.describe Types::Ci::StageType do
name
groups
detailedStatus
status
jobs
]
...
...
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