Add VariableType and variables fields
Compare changes
Files
2- Avielle Wolfe authored
And fix a spec for the project variables
+ 75
− 0
Ci::VariableType
which represents the many types of variables that exist in Gitlab CIci_variables
field to ProjectType
, GroupType
, and QueryType
raw
field in VariableType
so we can now surface whether a variable is non-expandedUse the following query in GraphQL to check each of the new variable fields:
{
ciVariables {
nodes {
id
key
value
variableType
raw
masked
protected
}
}
group(fullPath: "gitlab-org") {
ciVariables {
nodes {
id
key
value
variableType
raw
masked
protected
}
}
}
project(fullPath: "gitlab-org/gitlab-test") {
ciVariables {
nodes {
id
key
value
variableType
raw
masked
protected
}
}
}
}
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #361934 (closed)
And fix a spec for the project variables