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