debian-mirror-gitlab/app/assets/javascripts/environments/graphql/queries/environment_details.query.graphql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
935 B
GraphQL
Raw Normal View History

2023-03-04 22:38:38 +05:30
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
}
}
}
}
}