summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/graphql/queries/get_pipeline_header_data.query.graphql
blob: 8fcae9dbad89067698da232d46bbf81a47ae3663 (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
32
33
34
35
query getPipelineHeaderData($fullPath: ID!, $iid: ID!) {
  project(fullPath: $fullPath) {
    pipeline(iid: $iid) {
      id
      iid
      status
      retryable
      cancelable
      userPermissions {
        destroyPipeline
        updatePipeline
      }
      detailedStatus {
        detailsPath
        icon
        group
        text
      }
      createdAt
      user {
        id
        name
        username
        webPath
        webUrl
        email
        avatarUrl
        status {
          message
          emoji
        }
      }
    }
  }
}