Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_add_variable.mutation.graphql « mutations « graphql « ci_variable_list « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39504770e33e57ec8208b0fa329916141457267c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#import "~/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql"

mutation addProjectVariable($variable: CiVariable!, $endpoint: String!, $fullPath: ID!, $id: ID!) {
  ciVariableMutation: addProjectVariable(
    variable: $variable
    endpoint: $endpoint
    fullPath: $fullPath
    id: $id
  ) @client {
    project {
      id
      ciVariables {
        nodes {
          ...BaseCiVariable
          ... on CiProjectVariable {
            environmentScope
            masked
            protected
          }
        }
      }
    }
    errors
  }
}