diff options
Diffstat (limited to 'app/assets/javascripts/ci/pipeline_editor/graphql/queries/get_starter_template.query.graphql')
-rw-r--r-- | app/assets/javascripts/ci/pipeline_editor/graphql/queries/get_starter_template.query.graphql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/pipeline_editor/graphql/queries/get_starter_template.query.graphql b/app/assets/javascripts/ci/pipeline_editor/graphql/queries/get_starter_template.query.graphql new file mode 100644 index 00000000000..a34c8f365f4 --- /dev/null +++ b/app/assets/javascripts/ci/pipeline_editor/graphql/queries/get_starter_template.query.graphql @@ -0,0 +1,8 @@ +query getTemplate($projectPath: ID!, $templateName: String!) { + project(fullPath: $projectPath) { + id + ciTemplate(name: $templateName) { + content + } + } +} |