├── CODEOWNERS ├── 3.1.0 ├── goss_wait.yaml ├── rockcraft.yaml └── goss.yaml ├── .github ├── workflows │ └── pull-request.yaml ├── PULL_REQUEST_TEMPLATE.md ├── .jira_sync_config.yaml └── ISSUE_TEMPLATE │ ├── enhancement_proposal.yaml │ └── bug_report.yaml ├── SECURITY.md ├── justfile ├── DEVELOPING.md ├── README.md └── LICENSE /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @canonical/workflows 2 | -------------------------------------------------------------------------------- /3.1.0/goss_wait.yaml: -------------------------------------------------------------------------------- 1 | port: 2 | tcp:8080: 3 | listening: true 4 | process: 5 | pebble: 6 | running: true 7 | airflow: 8 | running: true 9 | -------------------------------------------------------------------------------- /.github/workflows/pull-request.yaml: -------------------------------------------------------------------------------- 1 | name: Pull Requests 2 | 3 | concurrency: 4 | group: ${{ github.workflow }}-${{ github.ref }} 5 | cancel-in-progress: true 6 | 7 | on: 8 | pull_request: 9 | branches: 10 | - main 11 | 12 | jobs: 13 | pull-request: 14 | name: PR 15 | uses: canonical/observability/.github/workflows/rock-pull-request.yaml@v1 16 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | 3 | 4 | 5 | 6 | --- 7 | ## Testing instructions 8 | 9 | 14 | 15 | ## Notes for Reviewers (optional) 16 | 17 | 18 | --- 19 | ## Checklist (all that apply) 20 | - [ ] Unit tests added or updated 21 | - [ ] Integration tests added or updated 22 | - [ ] Documentation updated 23 | 24 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | The easiest way to report a security issue is through a [Github Private Security Report](https://github.com/canonical/airflow-rocks/security/advisories/new) with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. 2 | 3 | Alternatively, to report a security issue via email, please email security@ubuntu.com with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. 4 | 5 | The [Ubuntu Security disclosure and embargo policy](https://ubuntu.com/security/disclosure-policy) contains more information about what you can expect when you contact us and what we expect from you. 6 | -------------------------------------------------------------------------------- /.github/.jira_sync_config.yaml: -------------------------------------------------------------------------------- 1 | settings: 2 | # Jira project key to create the issue in 3 | jira_project_key: "WF" 4 | 5 | # The Jira epic key to link all created issues to 6 | epic_key: "WF-63" 7 | 8 | # Dictionary mapping GitHub issue status to Jira issue status 9 | status_mapping: 10 | opened: Untriaged 11 | closed: Done 12 | 13 | # (Optional) GitHub labels. Only issues with one of those labels will be synchronized. 14 | # If not specified, all issues will be synchronized 15 | labels: 16 | - bug 17 | - enhancement 18 | 19 | # (Optional) (Default: false) Add a new comment in GitHub with a link to Jira created issue 20 | add_gh_comment: true 21 | 22 | # (Optional) (Default: true) Synchronize issue description from GitHub to Jira 23 | sync_description: true 24 | 25 | # (Optional) (Default: true) Synchronize comments from GitHub to Jira 26 | sync_comments: false 27 | 28 | # (Optional) Dictionary mapping GitHub issue labels to Jira issue types. 29 | # If label on the issue is not in specified list, this issue will be created as a Bug 30 | label_mapping: 31 | enhancement: Story 32 | bug: Bug 33 | 34 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/enhancement_proposal.yaml: -------------------------------------------------------------------------------- 1 | name: Enhancement Proposal 2 | description: File an enhancement proposal 3 | labels: ["enhancement"] 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: > 8 | Thanks for taking the time to fill out this enhancement proposal! Before submitting your issue, please make 9 | sure there isn't already a prior issue concerning this. If there is, please join that discussion instead. 10 | - type: textarea 11 | id: problem-statement 12 | attributes: 13 | label: Problem statement 14 | description: > 15 | State the problem and motivations with as much detail as possible. 16 | validations: 17 | required: true 18 | - type: textarea 19 | id: enhancement-proposal 20 | attributes: 21 | label: Enhancement Proposal 22 | description: > 23 | Describe the enhancement you would like to see that solves the problem stated before. 24 | validations: 25 | required: true 26 | - type: textarea 27 | id: what-needs-to-get-done 28 | attributes: 29 | label: What needs to get done? 30 | description: > 31 | Please provide a list of actions that need to get done for this enhancement. 32 | validations: 33 | required: false 34 | 35 | -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- 1 | set export 2 | set fallback 3 | 4 | 5 | [private] 6 | default: 7 | just --list 8 | 9 | [private] 10 | start-local-registry: 11 | docker run -d -p 5000:5000 --name registry registry:2 12 | 13 | [private] 14 | stop-local-registry: 15 | docker stop registry && docker rm registry 16 | 17 | [private] 18 | push-to-local-registry VERSION: 19 | #!/usr/bin/env bash 20 | set -euxo pipefail 21 | 22 | rockcraft.skopeo --insecure-policy copy --dest-tls-verify=false \ 23 | "oci-archive:${VERSION}/airflow_${VERSION}_amd64.rock" \ 24 | "docker://localhost:5000/airflow-rock-dev:${VERSION}" 25 | 26 | pack VERSION DEBUG="": 27 | #!/usr/bin/env bash 28 | set -euxo pipefail 29 | 30 | cd "${VERSION}" && rockcraft pack ${DEBUG} 31 | 32 | clean VERSION: 33 | cd "${VERSION}" && rockcraft clean 34 | cd "${VERSION}" && rm -f *.rock 35 | 36 | run VERSION: (pack VERSION) (start-local-registry) (push-to-local-registry VERSION) 37 | #!/usr/bin/env bash 38 | set -euxo pipefail 39 | trap 'just stop-local-registry' EXIT 40 | 41 | DIGEST="$(rockcraft.skopeo --insecure-policy inspect --tls-verify=false "docker://localhost:5000/airflow-rock-dev:${VERSION}" | jq -r .Digest)" 42 | IMAGE_REF="localhost:5000/airflow-rock-dev@${DIGEST}" 43 | cd "${VERSION}" && \ 44 | env GOSS_KUBECTL_BIN="$(which kubectl)" GOSS_OPTS="--color" GOSS_WAIT_OPTS="-r 480s -s 2s" \ 45 | kgoss edit -i "${IMAGE_REF}" 46 | 47 | test VERSION: (pack VERSION) (start-local-registry) (push-to-local-registry VERSION) 48 | #!/usr/bin/env bash 49 | set -euxo pipefail 50 | trap 'just stop-local-registry' EXIT 51 | 52 | DIGEST="$(rockcraft.skopeo --insecure-policy inspect --tls-verify=false "docker://localhost:5000/airflow-rock-dev:${VERSION}" | jq -r .Digest)" 53 | IMAGE_REF="localhost:5000/airflow-rock-dev@${DIGEST}" 54 | cd "${VERSION}" && \ 55 | env GOSS_KUBECTL_BIN="$(which kubectl)" GOSS_OPTS="--color" GOSS_WAIT_OPTS="-r 480s -s 2s" \ 56 | kgoss run -i "${IMAGE_REF}" 57 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yaml: -------------------------------------------------------------------------------- 1 | name: Bug Report 2 | description: File a bug report 3 | labels: ["bug"] 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: > 8 | Thanks for taking the time to fill out this bug report! Before submitting your issue, please make 9 | sure you are using the latest version of the charm. If not, please switch to this image prior to 10 | posting your report to make sure it's not already solved. 11 | - type: textarea 12 | id: bug-description 13 | attributes: 14 | label: Bug Description 15 | description: > 16 | If applicable, add screenshots to help explain the problem you are facing. 17 | validations: 18 | required: true 19 | - type: textarea 20 | id: reproduction 21 | attributes: 22 | label: To Reproduce 23 | description: > 24 | Please provide a step-by-step instruction of how to reproduce the behavior. 25 | placeholder: | 26 | 1. `juju deploy ...` 27 | 2. `juju relate ...` 28 | 3. `juju status --relations` 29 | validations: 30 | required: true 31 | - type: textarea 32 | id: environment 33 | attributes: 34 | label: Environment 35 | description: > 36 | We need to know a bit more about the context in which you run the charm. 37 | - Are you running Juju locally, on lxd, in multipass or on some other platform? 38 | - What track and channel you deployed the charm from (ie. `latest/edge` or similar). 39 | - Version of any applicable components, like the juju snap, the model controller, lxd, microk8s, and/or multipass. 40 | validations: 41 | required: true 42 | - type: textarea 43 | id: logs 44 | attributes: 45 | label: Relevant log output 46 | description: > 47 | Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. 48 | Fetch the logs using `juju debug-log --replay` and `kubectl logs ...`. Additional details available in the juju docs 49 | at https://documentation.ubuntu.com/juju/latest/howto/manage-logs/ 50 | render: shell 51 | validations: 52 | required: true 53 | - type: textarea 54 | id: additional-context 55 | attributes: 56 | label: Additional context 57 | 58 | -------------------------------------------------------------------------------- /DEVELOPING.md: -------------------------------------------------------------------------------- 1 | # Developing Airflow Rocks 2 | 3 | This document describes how to build, test, and validate the Apache Airflow Rocks packaged in this repository. 4 | 5 | --- 6 | ## Installing dependencies 7 | 8 | The following are dependencies to be able to develop and test changes to the Temporal rocks: 9 | 10 | - a K8s distribution (ideally k8s by Canonical) 11 | - rockcraft 12 | - yq 13 | - kubectl 14 | - just 15 | - docker 16 | - goss 17 | - kgoss 18 | 19 | There are convenient snaps for all of the above dependencies besides goss and kgoss. The recommended way to install these until a goss snap is released would be: 20 | ```bash 21 | goss_base_url="https://github.com/goss-org/goss/releases/latest/download" 22 | curl -L ${goss_base_url}/goss-linux-amd64 -o /usr/local/bin/goss 23 | chmod +rx /usr/local/bin/goss 24 | curl -L ${goss_base_url}/kgoss -o /usr/local/bin/kgoss 25 | chmod +rx /usr/local/bin/kgoss 26 | ``` 27 | 28 | 29 | ## Repository Structure 30 | 31 | ```bash 32 | . 33 | ├── 34 | │ ├── goss_wait.yaml 35 | │ ├── goss.yaml 36 | │ └── rockcraft.yaml 37 | ├── DEVELOPING.md 38 | ├── justfile 39 | ├── LICENSE 40 | └── README.md 41 | ``` 42 | 43 | - Each version directory contains everything needed to build that Airflow release. 44 | 45 | --- 46 | 47 | ## Building the Rock 48 | 49 | To build the Airflow Rock, go to the directory that corresponds to your desired version. For example: 50 | 51 | ```bash 52 | cd 53 | rockcraft pack 54 | 55 | This produces a .rock artifact (e.g., airflow-rock__amd64.rock) in the same directory. 56 | 57 | ## Using the Justfile 58 | 59 | The justfile provides shortcuts for common developer actions. 60 | 61 | `just pack ` Build the .rock for the current version 62 | `just clean ` Remove build artifacts and reset workspace 63 | `just test ` Run validation and health checks (goss tests) 64 | `just run ` Launch a test pod to inspect and interact with the built image 65 | 66 | ### Example usage 67 | 68 | ```bash 69 | just pack 70 | just run 71 | ``` 72 | 73 | The run command starts a containerized Airflow instance for local smoke testing and validation. 74 | 75 | ### Testing and Validation 76 | 77 | - goss.yaml and goss_wait.yaml define validation checks that ensure: 78 | - Airflow starts and runs as expected within the Rock. 79 | - All required providers and dependencies are present. 80 | 81 | ### To execute the tests 82 | ```bash 83 | just test 84 | ``` 85 | 86 | ## Versioning 87 | 88 | Each Airflow version maintains its own isolated build definition: 89 | - Future versions will follow the same structure. 90 | - Shared components such as the justfile remain at the repository root. 91 | 92 | ## License 93 | 94 | This project is licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) 95 | -------------------------------------------------------------------------------- /3.1.0/rockcraft.yaml: -------------------------------------------------------------------------------- 1 | name: airflow 2 | version: "3.1.0" 3 | summary: Apache Airflow Rock 4 | description: | 5 | Builds Apache Airflow 3.1.0 from source on Ubuntu 24.04 (Python 3.12). 6 | 7 | base: ubuntu@24.04 8 | platforms: 9 | amd64: 10 | environment: 11 | AIRFLOW_HOME: /opt/airflow 12 | 13 | services: 14 | airflow: 15 | override: replace 16 | startup: enabled 17 | command: /usr/bin/airflow standalone 18 | 19 | checks: 20 | airflow-running: 21 | override: replace 22 | exec: 23 | command: pgrep airflow 24 | 25 | parts: 26 | airflow: 27 | plugin: python 28 | source: https://github.com/apache/airflow 29 | source-type: git 30 | source-tag: 3.1.0 31 | build-packages: 32 | - build-essential 33 | - pkg-config 34 | - libmariadb-dev 35 | - unixodbc-dev 36 | stage-packages: 37 | - python3-venv 38 | - libmariadb3 39 | - unixodbc 40 | python-constraints: 41 | - https://raw.githubusercontent.com/apache/airflow/constraints-3.1.0/constraints-3.12.txt 42 | python-packages: 43 | - apache-airflow-providers-amazon[apache.hive,mongo,saleforce,exasol,common.messaging] 44 | - apache-airflow-providers-celery 45 | - apache-airflow-providers-cncf-kubernetes 46 | - apache-airflow-providers-common-compat 47 | - apache-airflow-providers-common-io 48 | - apache-airflow-providers-common-sql 49 | - apache-airflow-providers-docker 50 | - apache-airflow-providers-elasticsearch 51 | - apache-airflow-providers-fab 52 | - apache-airflow-providers-ftp 53 | - apache-airflow-providers-google[apache.cassandra,apache.beam,facebook,microsoft.mssql,presto,trino,oracle] 54 | - apache-airflow-providers-grpc 55 | - apache-airflow-providers-hashicorp 56 | - apache-airflow-providers-http 57 | - apache-airflow-providers-imap 58 | - apache-airflow-providers-microsoft-azure 59 | - apache-airflow-providers-mysql[vertica] 60 | - apache-airflow-providers-odbc 61 | - apache-airflow-providers-openlineage 62 | - apache-airflow-providers-postgres 63 | - apache-airflow-providers-redis 64 | - apache-airflow-providers-sendgrid 65 | - apache-airflow-providers-snowflake 66 | - apache-airflow-providers-sqlite 67 | - apache-airflow-providers-ssh 68 | - apache-airflow-providers-standard 69 | - apache-airflow-providers-slack 70 | - apache-airflow-providers-smtp 71 | - apache-airflow-providers-sftp 72 | airflow-license: 73 | plugin: dump 74 | source: https://github.com/apache/airflow 75 | source-type: git 76 | source-tag: 3.1.0 77 | source-depth: 1 78 | organize: 79 | LICENSE: licenses/LICENSE-airflow 80 | stage: 81 | - licenses/LICENSE-airflow 82 | airflow-rock-license: 83 | plugin: dump 84 | source: https://github.com/canonical/airflow-rocks 85 | source-type: git 86 | source-tag: main 87 | source-depth: 1 88 | organize: 89 | LICENSE: licenses/LICENSE-airflow-rock 90 | stage: 91 | - licenses/LICENSE-airflow-rock 92 | deb-security-manifest: 93 | plugin: make 94 | source: https://github.com/canonical/rocks-security-manifest 95 | source-type: git 96 | source-branch: main 97 | override-prime: gen_manifest 98 | 99 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Airflow Rock 2 | 3 | ## Monolithic repository for Airflow Rocks. 4 | 5 | Rocks for Apache Airflow. 6 | This repository hosts all the necessary files to build Rocks for various Airflow components. 7 | To interact with this repository, use `just` to run commands. 8 | 9 | ## Developing Apache Airflow Rock 10 | 11 | This document further explains how to build, customize, and work with the **Apache Airflow Rock** defined in `rockcraft.yaml`. 12 | It is intended for people interested in creating their own version of the rock. 13 | 14 | --- 15 | 16 | ## Overview 17 | 18 | This rock builds **Apache Airflow** from source on **Ubuntu** and packages it as a Pebble-managed OCI container. 19 | It includes a wide range of official Airflow providers and runs Airflow in standalone mode by default. 20 | 21 | **Key features:** 22 | 23 | * Builds Airflow directly from the upstream GitHub tag (e.g. ``). 24 | * Uses the official constraints file for Python to ensure dependency compatibility. 25 | * Stages common Airflow provider packages. 26 | * Runs Airflow in standalone mode automatically via Pebble upon startup 27 | * Includes licensing information for both Airflow and this rock. 28 | 29 | 30 | ## Project Structure 31 | 32 | ``` 33 | airflow-rocks/ 34 | ├─ / 35 | │ ├─ rockcraft.yaml # Rockcraft manifest defining the rock 36 | │ ├─ goss.yaml 37 | │ ├─ goss_wait.yaml 38 | ├─ DEVELOPING.md 39 | ├─ README.md 40 | ├─ justfile 41 | ├─ LICENSE 42 | ``` 43 | 44 | ## Building the rock 45 | 46 | To build the rock: 47 | 48 | ```bash 49 | just pack ${version} 50 | ``` 51 | 52 | This will: 53 | 54 | * Fetch Airflow source from GitHub (`` tag) 55 | * Build Airflow and providers into a Python environment 56 | * Package it as an OCI image wrapped in a `.rock` file (e.g., `airflow-rock__amd64.rock`) 57 | 58 | ## Running and testing the rock 59 | 60 | Once built, you can run the rock locally using `docker`: 61 | 62 | ### Using Docker 63 | 64 | ```bash 65 | # Load the rock into your local Docker daemon 66 | rockcraft.skopeo --insecure-policy copy oci-archive:airflow-rock__amd64.rock docker-daemon:airflow-rock: 67 | # Run the rock 68 | docker run -it --rm -p 5000:5000 airflow-rock: 69 | ``` 70 | 71 | The container will start Airflow in standalone mode. 72 | The Airflow web UI will be available at: http://localhost:5000 73 | 74 | ### Using Pebble inside the container 75 | 76 | ```bash 77 | docker exec -it pebble services 78 | docker exec -it pebble logs 79 | ``` 80 | 81 | ## Rock services and checks 82 | 83 | The rock defines one service, managed by Pebble: 84 | 85 | ```yaml 86 | services: 87 | airflow: 88 | startup: enabled 89 | command: /usr/bin/airflow standalone 90 | ``` 91 | 92 | This runs Airflow’s built-in standalone mode, which launches: 93 | 94 | * An API-Server 95 | * A scheduler 96 | * A metadata database (SQLite, by default) 97 | 98 | A simple liveness check verifies Airflow is running: 99 | 100 | ```yaml 101 | checks: 102 | airflow-running: 103 | exec: 104 | command: pgrep airflow 105 | ``` 106 | 107 | ## Parts Explained 108 | 109 | The rock is built from several parts: 110 | 111 | | Part | Purpose | 112 | | -------------------------- | ----------------------------------------------------------------------- | 113 | | **airflow** | Builds Apache Airflow from source and installs providers | 114 | | **airflow-license** | Includes upstream Apache Airflow LICENSE | 115 | | **airflow-rock-license** | Includes the LICENSE for this rock | 116 | 117 | ### Python constraints 118 | 119 | The build uses Airflow’s official constraints file for a certain version of Python, for example: 120 | 121 | ```yaml 122 | python-constraints: 123 | - https://raw.githubusercontent.com/apache/airflow/constraints-/constraints-3.12.txt 124 | ``` 125 | 126 | This ensures the pinned versions of all dependencies and providers match the desired version of Airflow. 127 | 128 | ## Provider packages 129 | 130 | The rock installs a comprehensive list of Airflow providers, including: 131 | 132 | * Amazon (`apache-airflow-providers-amazon`) 133 | * Google (`apache-airflow-providers-google`) 134 | * Kubernetes (`apache-airflow-providers-cncf-kubernetes`) 135 | * PostgreSQL, MySQL, ODBC, Redis, etc. 136 | 137 | To customize providers, edit the `python-packages` list in the `airflow` part. 138 | ### List providers installed 139 | ```bash 140 | airflow providers list 141 | ``` 142 | 143 | ## Licensing 144 | 145 | Two license files are included in the rock image: 146 | 147 | * `licenses/LICENSE-airflow` – Apache 2.0 license for upstream Airflow 148 | * `licenses/LICENSE-airflow-rock` – Apache 2.0 license for this rock’s source 149 | 150 | 151 | ## Development tips 152 | 153 | * Use `rockcraft pack --verbosity debug` for more detailed logs during builds. 154 | * Use `rockcraft clean` if builds fail due to stale state. 155 | * If you change the Python version, update the constraints URL accordingly. 156 | 157 | Please refer to the [DEVELOPING.md](./DEVELOPING.md) guide for details on developing, building, and testing the Airflow Rocks in this repository. 158 | -------------------------------------------------------------------------------- /3.1.0/goss.yaml: -------------------------------------------------------------------------------- 1 | command: 2 | airflow-version: 3 | exec: "airflow version" 4 | exit-status: 0 5 | stdout: 6 | - "/^3\\.1\\./" 7 | pebble-services: 8 | exec: "pebble services" 9 | exit-status: 0 10 | airflow-standalone-running: 11 | exec: "sh -lc \"ps -eo pid,cmd | grep -F 'airflow standalone' | grep -v grep | wc -l\"" 12 | exit-status: 0 13 | stdout: 14 | - '1' 15 | default-executor-is-local: 16 | exec: "/bin/airflow config get-value core executor" 17 | exit-status: 0 18 | stdout: 19 | - "/^(LocalExecutor|SequentialExecutor)$/" 20 | k8s-executor-env-override: 21 | exec: AIRFLOW__CORE__EXECUTOR=KubernetesExecutor /bin/airflow config get-value core executor 22 | exit-status: 0 23 | stdout: 24 | - "/^KubernetesExecutor$/" 25 | celery-executor-env-override: 26 | exec: AIRFLOW__CORE__EXECUTOR=CeleryExecutor /bin/airflow config get-value core executor 27 | exit-status: 0 28 | stdout: 29 | - "/^CeleryExecutor$/" 30 | providers-import-check: 31 | exec: | 32 | export PROVIDERS="$( 33 | airflow providers list --output plain \ 34 | | awk 'NR>1 {print $1}' \ 35 | | sed 's/-/_/g; s/apache_airflow_providers_//g; s/^airflow\.providers\.//g' \ 36 | | grep -Ev '(^providers|^$|^_$)' 37 | )" 38 | python3 - <<'PY' 39 | import importlib, os, sys 40 | for name in os.environ['PROVIDERS'].split(): 41 | mod = importlib.import_module(f"airflow.providers.{name.replace('_', '.')}") 42 | if not [a for a in dir(mod) if not a.startswith("__")]: 43 | sys.exit(1) 44 | PY 45 | exit-status: 0 46 | airflow-providers-list: 47 | exec: airflow providers list --output plain | grep -v 'package_name' | awk 'NF {name=$1; version=$NF; print name" | "version}' | grep -v "^- " 48 | exit-status: 0 49 | stdout: 50 | - "apache-airflow-providers-amazon | 9.14.0" 51 | - "apache-airflow-providers-apache-cassandra | 3.8.2" 52 | - "apache-airflow-providers-apache-hive | 9.1.2" 53 | - "apache-airflow-providers-celery | 3.12.3" 54 | - "apache-airflow-providers-cncf-kubernetes | 10.8.1" 55 | - "apache-airflow-providers-common-compat | 1.7.4" 56 | - "apache-airflow-providers-common-io | 1.6.3" 57 | - "apache-airflow-providers-common-messaging | 2.0.0" 58 | - "apache-airflow-providers-common-sql | 1.28.1" 59 | - "apache-airflow-providers-docker | 4.4.3" 60 | - "apache-airflow-providers-elasticsearch | 6.3.3" 61 | - "apache-airflow-providers-exasol | 4.8.3" 62 | - "apache-airflow-providers-fab | 2.4.3" 63 | - "apache-airflow-providers-facebook | 3.8.2" 64 | - "apache-airflow-providers-ftp | 3.13.2" 65 | - "apache-airflow-providers-google | 18.0.0" 66 | - "apache-airflow-providers-grpc | 3.8.2" 67 | - "apache-airflow-providers-hashicorp | 4.3.2" 68 | - "apache-airflow-providers-http | 5.3.4" 69 | - "apache-airflow-providers-imap | 3.9.2" 70 | - "apache-airflow-providers-microsoft-azure | 12.7.1" 71 | - "apache-airflow-providers-microsoft-mssql | 4.3.2" 72 | - "apache-airflow-providers-mongo | 5.2.2" 73 | - "apache-airflow-providers-mysql | 6.3.4" 74 | - "apache-airflow-providers-odbc | 4.10.2" 75 | - "apache-airflow-providers-openlineage | 2.7.1" 76 | - "apache-airflow-providers-oracle | 4.2.0" 77 | - "apache-airflow-providers-postgres | 6.3.0" 78 | - "apache-airflow-providers-presto | 5.9.2" 79 | - "apache-airflow-providers-redis | 4.3.1" 80 | - "apache-airflow-providers-sendgrid | 4.1.3" 81 | - "apache-airflow-providers-sftp | 5.4.0" 82 | - "apache-airflow-providers-slack | 9.3.0" 83 | - "apache-airflow-providers-smtp | 2.2.1" 84 | - "apache-airflow-providers-snowflake | 6.5.4" 85 | - "apache-airflow-providers-sqlite | 4.1.2" 86 | - "apache-airflow-providers-ssh | 4.1.4" 87 | - "apache-airflow-providers-standard | 1.8.0" 88 | - "apache-airflow-providers-trino | 6.3.3" 89 | - "apache-airflow-providers-vertica | 4.1.2" 90 | 91 | file: 92 | /bin/airflow: 93 | exists: true 94 | path: /bin/airflow 95 | owner: root 96 | group: root 97 | filetype: file 98 | mode: "0755" 99 | /lib/python3.12/site-packages/airflow: 100 | exists: true 101 | path: /lib/python3.12/site-packages/airflow 102 | filetype: directory 103 | owner: root 104 | group: root 105 | mode: "0755" 106 | /opt/airflow: 107 | exists: true 108 | path: /opt/airflow 109 | filetype: directory 110 | owner: root 111 | group: root 112 | mode: "0755" 113 | /opt/airflow/airflow.cfg: 114 | exists: true 115 | path: /opt/airflow/airflow.cfg 116 | owner: root 117 | group: root 118 | filetype: file 119 | mode: "0600" 120 | /opt/airflow/logs: 121 | exists: true 122 | path: /opt/airflow/logs 123 | filetype: directory 124 | owner: root 125 | group: root 126 | mode: "0755" 127 | /licenses/LICENSE-airflow: 128 | exists: true 129 | path: /licenses/LICENSE-airflow 130 | mode: "0644" 131 | owner: root 132 | group: root 133 | filetype: file 134 | /licenses/LICENSE-airflow-rock: 135 | exists: true 136 | path: /licenses/LICENSE-airflow-rock 137 | mode: "0644" 138 | owner: root 139 | group: root 140 | filetype: file 141 | /usr/share/rocks/dpkg.query: 142 | exists: true 143 | mode: "0644" 144 | filetype: file 145 | owner: root 146 | group: root 147 | 148 | http: 149 | "http://127.0.0.1:8080/api/v2/monitor/health": 150 | status: 200 151 | timeout: 5000 152 | allow-insecure: true 153 | body: 154 | - '/"metadatabase"\s*:\s*\{\s*"status"\s*:\s*"healthy"/' 155 | - '/"scheduler"\s*:\s*\{\s*"status"\s*:\s*"healthy"/' 156 | - '/"triggerer"\s*:\s*\{\s*"status"\s*:\s*"healthy"/' 157 | - '/"dag_processor"\s*:\s*\{\s*"status"\s*:\s*"healthy"/' 158 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | --------------------------------------------------------------------------------