query getPipeline($fullPath: ID!, $sha: String!) {
  project(fullPath: $fullPath) {
    pipeline(sha: $sha) {
      commitPath
      id
      iid
      status
      detailedStatus {
        detailsPath
        icon
        group
        text
      }
      stages {
        edges {
          node {
            id
            name
            status
            detailedStatus {
              detailsPath
              group
              hasDetails
              icon
              id
              label
              text
              tooltip
            }
          }
        }
      }
    }
  }
}
