Create a Deploy
Create a new Deploy. A Deploy represents an intent to deploy new DAG code to an Astro Deployment.
Path parameters
organizationId
The ID of the Organization in which to create the Deployment.
deploymentId
The Deployment's ID.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
type
The type of deploy.
Allowed values:
bundleMountPath
The path where Astro mounts the bundle on the Airflow component pods. Required if deploy type is BUNDLE.
bundleType
The type of bundle deployed. Required if deploy type is BUNDLE.
description
The deploy's description.
Response
OK
createdAt
The time when the deploy was created in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ
.
deploymentId
The Deployment's ID.
id
The deploy's ID.
imageRepository
The URL of the deploy's image repository.
imageTag
The deploy's image tag. Appears only if specified in the most recent deploy.
isDagDeployEnabled
Whether the deploy was triggered on a Deployment with DAG deploys enabled.
status
The status of the deploy.
Allowed values:
type
The type of deploy.
Allowed values:
airflowVersion
The deploy's Airflow version.
astroRuntimeVersion
The deploy's Astro Runtime version.
bundleMountPath
The path where Astro mounts the bundle on the Airflow component pods.
bundleUploadUrl
The URL where the deploy uploads the bundle. Appears only if DAG deploys are enabled on the Deployment and deploy type is BUNDLE.
bundles
The bundles included in a specific Deployment.
createdBySubject
dagTarballVersion
The deploy's DAG tarball version, also known as the Bundle Version in the Astro UI.
dagsUploadUrl
The deploy's upload URL to upload DAG bundles. Appears only if dag deploys are enabled on the Deployment.
description
The deploy's description.
rollbackFromId
The ID of the deploy that you completed a rollback on. Appears only if a rollback has been performed.
updatedAt
The time when the deploy was last updated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ
.
updatedBySubject