Skip to main content
Version: 0.1.0

Deployment

No description

type Deployment {
id: ID!
description: String
version: String!
status: DeploymentStatus!
endpoints: [String!]
privateEndpoint: String
loadBalancers: [LoadBalancer!]
errorMessage: String
deploymentError: DeploymentError
branch: String
gitRef: String
build: Build
buildStage: BuildStage
testStage: PipelineStage
releaseStage: PipelineStage
deployStage: PipelineStage
deleteStage: PipelineStage
deployTemplates: [DeployTemplate]
logs: [LogEntry!]
logsV2: ComplexLogs
repo: Repo
deployStatus: DeployStatus
containers: [Container!]
metrics(
name: String!
): [Metric!]
volumes: [Volume!]
awsLinks: AWSLinks
gcpLinks: GCPLinks
githubLinks: GithubLinks
helmRelease: HelmRelease
dataOut: String
pipelineCluster: Cluster
createdAt: Time!
updatedAt: Time!
release: Release
deployStep: PipelineStep
alternativeImages: [AlternativeImage!]
ephemeralContainers: [EphemeralContainer]
alert(
id: UUID!
): DeploymentAlert
metricsV2(
metricType: MetricType!
deploymentID: UUID!
queryOptions: MetricQueryOptions
): [MetricStream!]
alerts(
page: PageInput
): DeploymentAlertConnection
events: [Event!]!
runtime: Runtime
terraformOperation: TerraformOperation
}

Fields

Deployment.id ● ID! non-null scalar

Deployment.description ● String scalar

Deployment.version ● String! non-null scalar

Deployment.status ● DeploymentStatus! non-null enum

Deployment.endpoints ● [String!] list scalar

Deployment.privateEndpoint ● String scalar

Deployment.loadBalancers ● [LoadBalancer!] list object

Deployment.errorMessage ● String scalar

Deployment.deploymentError ● DeploymentError object

An optional structured error, containing more information than the simple 'errorMessage'

Deployment.branch ● String scalar

Deployment.gitRef ● String scalar

Deployment.build ● Build object

Deployment.buildStage ● BuildStage object

Deployment.testStage ● PipelineStage object

Deployment.releaseStage ● PipelineStage object

Deployment.deployStage ● PipelineStage object

Deployment.deleteStage ● PipelineStage object

Deployment.deployTemplates ● [DeployTemplate] list object

Deployment.logs ● [LogEntry!] list object

Deployment.logsV2 ● ComplexLogs object

Deployment.repo ● Repo object

Deployment.deployStatus ● DeployStatus object

Deployment.containers ● [Container!] list object

Deployment.metrics ● [Metric!] list object

Deployment.metrics.name ● String! non-null scalar

Deployment.volumes ● [Volume!] list object

Deployment.helmRelease ● HelmRelease object

Deployment.dataOut ● String scalar

Deployment.pipelineCluster ● Cluster object

Deployment.createdAt ● Time! non-null scalar

Deployment.updatedAt ● Time! non-null scalar

Deployment.release ● Release object

Deployment.deployStep ● PipelineStep object

Deployment.alternativeImages ● [AlternativeImage!] list object

Deployment.ephemeralContainers ● [EphemeralContainer] list object

Deployment.alert ● DeploymentAlert interface

Deployment.alert.id ● UUID! non-null scalar

Deployment.metricsV2 ● [MetricStream!] list object

Deployment.metricsV2.metricType ● MetricType! non-null enum
Deployment.metricsV2.deploymentID ● UUID! non-null scalar
Deployment.metricsV2.queryOptions ● MetricQueryOptions input

Deployment.alerts ● DeploymentAlertConnection object

List the history of alerts for this deployment.

The page input only supports first, and one of before or after. Default is 10 most recent alerts.

Deployment.alerts.page ● PageInput input

Deployment.events ● [Event!]! non-null object

Deployment.runtime ● Runtime union

Deployment.terraformOperation ● TerraformOperation object

Returned by

deploymentUpdated subscription

Member Of

DeploymentConnection object ● JobRun object ● Repo object ● RepoBranch object ● RepoBranchV2 object ● User object