debian-mirror-gitlab/app/assets/javascripts/environments/graphql/queries/environment_details.query.graphql
2023-03-05 14:24:40 +05:30

48 lines
935 B
GraphQL

query getEnvironmentDetails($projectFullPath: ID!, $environmentName: String, $pageSize: Int) {
project(fullPath: $projectFullPath) {
id
name
fullPath
environment(name: $environmentName) {
id
name
deployments(orderBy: { createdAt: DESC }, first: $pageSize) {
nodes {
id
iid
status
ref
tag
job {
name
id
webPath
}
commit {
id
shortId
message
webUrl
authorGravatar
authorName
authorEmail
author {
id
name
avatarUrl
webUrl
}
}
triggerer {
id
webUrl
name
avatarUrl
}
createdAt
finishedAt
}
}
}
}
}