summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/pipeline_editor/graphql/queries/ci_config.query.graphql
blob: 5354ed7c2d5bb67625a0761aa7623b39c2a0d0ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#import "~/pipelines/graphql/fragments/pipeline_stages_connection.fragment.graphql"

query getCiConfigData($projectPath: ID!, $sha: String, $content: String!) {
  ciConfig(projectPath: $projectPath, sha: $sha, content: $content) {
    errors
    includes {
      location
      type
      blob
      raw
    }
    mergedYaml
    status
    stages {
      ...PipelineStagesConnection
    }
  }
}