For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
      • AstroFully-managed data operations, powered by Apache Airflow.
      • Astro Private CloudRun Airflow-as-a-service in your environment.
      • Professional ServicesExpert Airflow services for your enterprise's success.
    • Tools
      • Cosmos
      • Orbiter
      • CLI
      • AI SDK
      • Agents
      • Blueprint
      • UpdatesThe State of Airflow 2026See the insights from over 5,800 data practitioners in the full report. Download Now ➔
  • Customers
  • Docs
    • Insights
      • Blog
      • Webinars
      • Resource Library
      • Events
    • Education
      • Academy
      • What is Airflow?
  • Pricing
Get Started Free
    • Overview
      • Overview
      • Authenticate an automation tool
        • Develop a CI/CD workflow
          • Template options
          • Jenkins
          • GitLab
          • AWS S3 bucket
          • AWS CodeBuild
          • Azure DevOps
          • GCS bucket
          • Bitbucket
          • CircleCI
          • Drone
          • Harness
      • Astro Terraform Provider
    • Book Office Hours

Product

  • Platform Overview
  • Astro
  • Astro Observe
  • Astro Private Cloud
  • Security & Trust
  • Pricing

Tools & Services

  • Cosmos
  • Docs
  • Professional Services
  • Product Updates

Use Cases

  • AI Ops
  • Data Observability
  • ETL/ELT
  • ML Ops
  • Operational Analytics
  • All Use Cases

Industries

  • Financial Services
  • Gaming
  • Retail
  • Manufacturing
  • Healthcare
  • All Industries

Resources

  • Academy
  • eBooks & Guides
  • Blog
  • Webinars
  • Events
  • The Data Flowcast Podcast
  • All Resources

Airflow

  • What is Airflow
  • Airflow on Astro
  • Airflow 3.0
  • Airflow Upgrades
  • Airflow Use Cases
  • Airflow 2.x End of Life

Company

  • Our Story
  • Customers
  • Newsroom
  • Careers
  • Contact

Support

  • Knowledge Base
  • Status
  • Contact Support
GitHubYouTubeLinkedInx
  • Legal
  • Privacy
  • Terms of Service
  • Consent Preferences

  • Do Not Sell or Share My Personal information
  • Limit the Use Of My Sensitive Personal Information

Apache Airflow®, Airflow, and the Airflow logo are trademarks of the Apache Software Foundation. Copyright © Astronomer 2026. All rights reserved.

LogoLogo
On this page
  • Prerequisites
  • Single branch implementation
Automation & CI/CDCI/CDCI/CD templates

Astro CI/CD templates for Azure DevOps

Edit this page
Built with

Use the following CI/CD templates to automate deploying Apache Airflow Dags from a Git repository to Astro with Azure DevOps.

The template for Azure DevOps is based on the image deploy template with a single branch implementation, which requires only one Astro Deployment.

If you use the Dag-only deploy feature on Astro or you’re interested in a multiple-branch implementation, see Template overview to configure your own. To learn more about CI/CD on Astro, see Choose a CI/CD strategy.

Prerequisites

  • An Astro project hosted in a Git repository that Azure DevOps can access.
  • An Astro Deployment.
  • A Deployment API token, Workspace API token, or Organization API token.
  • Access to Azure DevOps.

Single branch implementation

Complete the following setup in an Azure repository that hosts an Astro project:

  1. Set the following environment variable as a DevOps pipeline variable:

    • ASTRO_API_TOKEN: The value for your Workspace or Organization API token.
    • ASTRO_DEPLOYMENT_ID: The ID for your Deployment.

    For production Deployments, ensure that you set the value for your API token as a secret.

  2. Create a new Azure DevOps pipeline named astro-devops-cicd.yaml at the root of the repository that includes the following configuration:

    1trigger:
    2- main
    3
    4pr: none
    5
    6stages:
    7- stage: deploy
    8 jobs:
    9 - job: deploy_image
    10 pool:
    11 vmImage: 'ubuntu-latest'
    12 steps:
    13 - script: |
    14 curl -sSL install.astronomer.io | sudo bash -s
    15 astro deploy ${ASTRO_DEPLOYMENT_ID}
    16 env:
    17 ASTRO_API_TOKEN: $(ASTRO_API_TOKEN)
    18 ASTRO_DEPLOYMENT_ID: $(ASTRO_DEPLOYMENT_ID)