Skip to main content
Skip to content

Deployments

Referenzdokumentation für GraphQL-Schematypen in der Kategorie „Deployments“.

Mutations

approveDeployments

Mutation

Approve all pending deployments under one or more environments.

Eingabefelder für approveDeployments

Rückgabefelder für approveDeployments

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

deployments ([Deployment!])

The affected deployments.

createDeployment

Mutation

Creates a new deployment event.

Eingabefelder für createDeployment

Rückgabefelder für createDeployment

NameBESCHREIBUNG

autoMerged (Boolean)

True if the default branch has been auto-merged into the deployment ref.

clientMutationId (String)

A unique identifier for the client performing the mutation.

deployment (Deployment)

The new deployment.

createDeploymentStatus

Mutation

Create a deployment status.

Eingabefelder für createDeploymentStatus

Rückgabefelder für createDeploymentStatus

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

deploymentStatus (DeploymentStatus)

The new deployment status.

createEnvironment

Mutation

Creates an environment or simply returns it if already exists.

Eingabefelder für createEnvironment

Rückgabefelder für createEnvironment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

environment (Environment)

The new or existing environment.

deleteDeployment

Mutation

Deletes a deployment.

Eingabefelder für deleteDeployment

Rückgabefelder für deleteDeployment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

deleteEnvironment

Mutation

Deletes an environment.

Eingabefelder für deleteEnvironment

Rückgabefelder für deleteEnvironment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

pinEnvironment

Mutation

Pin an environment to a repository.

Eingabefelder für pinEnvironment

Rückgabefelder für pinEnvironment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

environment (Environment)

The environment that was pinned.

pinnedEnvironment (PinnedEnvironment)

The pinned environment if we pinned.

rejectDeployments

Mutation

Reject all pending deployments under one or more environments.

Eingabefelder für rejectDeployments

Rückgabefelder für rejectDeployments

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

deployments ([Deployment!])

The affected deployments.

reorderEnvironment

Mutation

Reorder a pinned repository environment.

Eingabefelder für reorderEnvironment

Rückgabefelder für reorderEnvironment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

environment (Environment)

The environment that was reordered.

updateEnvironment

Mutation

Updates an environment.

Eingabefelder für updateEnvironment

Rückgabefelder für updateEnvironment

NameBESCHREIBUNG

clientMutationId (String)

A unique identifier for the client performing the mutation.

environment (Environment)

The updated environment.

Objects

DeployedEvent

Object

Represents adeployedevent on a given pull request.

DeployedEvent Wird implementiert

Felder für DeployedEvent

NameBESCHREIBUNG

actor (Actor)

Identifies the actor who performed the event.

createdAt (DateTime!)

Identifies the date and time when the object was created.

databaseId (Int)

Identifies the primary key from the database.

deployment (Deployment!)

The deployment associated with thedeployedevent.

id (ID!)

The Node ID of the DeployedEvent object.

pullRequest (PullRequest!)

PullRequest referenced by event.

ref (Ref)

The ref associated with thedeployedevent.

Deployment

Object

Represents triggered deployment instance.

Deployment Wird implementiert

Felder für Deployment

NameBESCHREIBUNG

commit (Commit)

Identifies the commit sha of the deployment.

commitOid (String!)

Identifies the oid of the deployment commit, even if the commit has been deleted.

createdAt (DateTime!)

Identifies the date and time when the object was created.

creator (Actor!)

Identifies the actor who triggered the deployment.

databaseId (Int)

Identifies the primary key from the database.

description (String)

The deployment description.

environment (String)

The latest environment to which this deployment was made.

id (ID!)

The Node ID of the Deployment object.

latestEnvironment (String)

The latest environment to which this deployment was made.

latestStatus (DeploymentStatus)

The latest status of this deployment.

originalEnvironment (String)

The original environment to which this deployment was made.

payload (String)

Extra information that a deployment system might need.

ref (Ref)

Identifies the Ref of the deployment, if the deployment was created by ref.

repository (Repository!)

Identifies the repository associated with the deployment.

state (DeploymentState)

The current state of the deployment.

statuses (DeploymentStatusConnection)

A list of statuses associated with the deployment.

Argumente für statuses

  • after (