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
2961a5b9
Commit
2961a5b9
authored
Jan 27, 2021
by
lauraMon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds calls_gitaly to label DetailedStatus
parent
b3881895
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
app/graphql/types/ci/detailed_status_type.rb
app/graphql/types/ci/detailed_status_type.rb
+3
-2
changelogs/unreleased/lm-adds-gitaly-call-label.yml
changelogs/unreleased/lm-adds-gitaly-call-label.yml
+6
-0
No files found.
app/graphql/types/ci/detailed_status_type.rb
View file @
2961a5b9
...
@@ -18,6 +18,7 @@ module Types
...
@@ -18,6 +18,7 @@ module Types
description:
'Indicates if the status has further details.'
,
description:
'Indicates if the status has further details.'
,
method: :has_details?
method: :has_details?
field
:label
,
GraphQL
::
STRING_TYPE
,
null:
true
,
field
:label
,
GraphQL
::
STRING_TYPE
,
null:
true
,
calls_gitaly:
true
,
description:
'Label of the status.'
description:
'Label of the status.'
field
:text
,
GraphQL
::
STRING_TYPE
,
null:
true
,
field
:text
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'Text of the status.'
description:
'Text of the status.'
...
@@ -25,8 +26,8 @@ module Types
...
@@ -25,8 +26,8 @@ module Types
description:
'Tooltip associated with the status.'
,
description:
'Tooltip associated with the status.'
,
method: :status_tooltip
method: :status_tooltip
field
:action
,
Types
::
Ci
::
StatusActionType
,
null:
true
,
field
:action
,
Types
::
Ci
::
StatusActionType
,
null:
true
,
calls_gitaly:
true
,
calls_gitaly:
true
,
description:
'Action information for the status. This includes method, button title, icon, path, and title.'
description:
'Action information for the status. This includes method, button title, icon, path, and title.'
def
action
def
action
if
object
.
has_action?
if
object
.
has_action?
...
...
changelogs/unreleased/lm-adds-gitaly-call-label.yml
0 → 100644
View file @
2961a5b9
---
title
:
Increase the complexity score of GraphQL detailedStatus#label as it can call
Gitaly
merge_request
:
52708
author
:
type
:
changed
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