summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-18 19:00:14 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-18 19:00:14 +0000
commit05f0ebba3a2c8ddf39e436f412dc2ab5bf1353b2 (patch)
tree11d0f2a6ec31c7793c184106cedc2ded3d9a2cc5 /app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql
parentec73467c23693d0db63a797d10194da9e72a74af (diff)
downloadgitlab-ce-05f0ebba3a2c8ddf39e436f412dc2ab5bf1353b2.tar.gz
Add latest changes from gitlab-org/gitlab@15-8-stable-eev15.8.0-rc42
Diffstat (limited to 'app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql')
-rw-r--r--app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql b/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql
new file mode 100644
index 00000000000..af0cd2d0b2c
--- /dev/null
+++ b/app/assets/javascripts/ci/ci_variable_list/graphql/queries/project_variables.query.graphql
@@ -0,0 +1,21 @@
+#import "~/ci/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql"
+#import "~/graphql_shared/fragments/page_info.fragment.graphql"
+
+query getProjectVariables($after: String, $first: Int = 100, $fullPath: ID!) {
+ project(fullPath: $fullPath) {
+ id
+ ciVariables(after: $after, first: $first) {
+ limit
+ pageInfo {
+ ...PageInfo
+ }
+ nodes {
+ ...BaseCiVariable
+ environmentScope
+ masked
+ protected
+ raw
+ }
+ }
+ }
+}