Commit 81a67d1d authored by Thong Kuah's avatar Thong Kuah

Merge branch 'add-status-to-stage' into 'master'

Adds status to stage

See merge request gitlab-org/gitlab!61177
parents 6d7bb6b1 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)
......
......@@ -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`
......
......@@ -10,6 +10,7 @@ RSpec.describe Types::Ci::StageType do
name
groups
detailedStatus
status
jobs
]
......
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