summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/graphql/queries/get_pipeline_header_data.query.graphql
blob: 1b3f80b1f18bd8ab40f9c0a096e65706644733f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
query getPipelineHeaderData($fullPath: ID!, $iid: ID!) {
  project(fullPath: $fullPath) {
    pipeline(iid: $iid) {
      id
      iid
      status
      retryable
      cancelable
      userPermissions {
        destroyPipeline
      }
      detailedStatus {
        detailsPath
        icon
        group
        text
      }
      createdAt
      user {
        name
        webPath
        email
        avatarUrl
        status {
          message
          emoji
        }
      }
    }
  }
}