By using Git repositories and YAML files, you can apply familiar engineering workflows like pull requests, branching, and CI/CD to your projects.Airfold workspaces are fully defined in YAML files, which enables you to leverage version control and CI/CD similar to tools like dbt, Terraform, and other infrastructure as code systems.Your files represent data pipelines as code with Airfold.
Restore Workspace HistoryEach commit represents the exact state of your Airfold workspace at a given point in time.Easily navigate to and restore any previous version of the workspace to:
Revert breaking changes
Recover pipeline configurations or source definitions that were accidentally modified
Roll Back IssuesIf a recent change causes unexpected errors, simply roll back to the last known working commit.This is helpful for avoiding downtime in production by reverting to a stable state with minimal effort.Enable CollaborationGit enables multiple team members to work on the same workspace simultaneously without conflicts:
Avoid overwriting others’ changes (a common risk when using a shared UI), where actions like multiple users pressing save on a query edit can accidentally overwrite each other’s changes
Git merge enables a structured way to combine contributions, reducing the risk of such conflicts and ensuring every update is reviewed
Seamless SharingWithin your organization:
Store your Airfold workspace files in a shared Git repository, ensuring all team members access to latest udpates
Team members can work on individual tasks in separate branches, avoiding conflicts with ongoing production or staging workflows
Use pull requests to propose changes and review code before merging
You can also open-source your Airfold workspaces just as you would with any Git repository, allowing the broader community to reuse and adapt your workspaces.Branch for Production and StagingMaintain separate branches for staging and production environments:
Use staging for testing new pipelines, changes, or integrations
A typical Airfold project is organized into the following directory structure:
Copy
Ask AI
/.airfold/config.yaml # Configuration for CLI and workspace/pipes # YAML files for pipeline definitions /trends_per_country.yaml /sales_metrics.yaml/sources # YAML files for data sources and materialized views /events.yaml /sales.yaml /sales_metrics_mv.yaml/endpoints # (Optional) Organized API endpoint definitions /country_trends.yaml /sales_over_time.yaml
Pipes: Define the sequence of SQL transformations in your data pipeline