2023-03-17 16:20:25 +05:30
|
|
|
query getEnvironmentDetails(
|
|
|
|
$projectFullPath: ID!
|
|
|
|
$environmentName: String
|
|
|
|
$first: Int
|
|
|
|
$last: Int
|
|
|
|
$after: String
|
|
|
|
$before: String
|
|
|
|
) {
|
2023-03-04 22:38:38 +05:30
|
|
|
project(fullPath: $projectFullPath) {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
fullPath
|
|
|
|
environment(name: $environmentName) {
|
|
|
|
id
|
|
|
|
name
|
2023-03-17 16:20:25 +05:30
|
|
|
deployments(
|
|
|
|
orderBy: { createdAt: DESC }
|
|
|
|
first: $first
|
|
|
|
last: $last
|
|
|
|
after: $after
|
|
|
|
before: $before
|
|
|
|
) {
|
|
|
|
pageInfo {
|
|
|
|
startCursor
|
|
|
|
endCursor
|
|
|
|
hasNextPage
|
|
|
|
hasPreviousPage
|
|
|
|
}
|
2023-03-04 22:38:38 +05:30
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|