Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,27 @@ function environment_initialization() {
ssh-keyscan -H localhost >> ~/.ssh/known_hosts 2>/dev/null
fi

if [[ ${INTEGRATION_LOCALSTACK:-"false"} == "true" ]]; then
echo
echo "${COLOR_BLUE}Configuring LocalStack integration${COLOR_RESET}"
echo

# Define LocalStack AWS configuration
declare -A localstack_config=(
["AWS_ENDPOINT_URL"]="http://localstack:4566"
["AWS_ACCESS_KEY_ID"]="test"
["AWS_SECRET_ACCESS_KEY"]="test"
["AWS_DEFAULT_REGION"]="us-east-1"
)

# Export each configuration variable and log it
for key in "${!localstack_config[@]}"; do
export "$key"="${localstack_config[$key]}"
echo " * ${COLOR_BLUE}${key}:${COLOR_RESET} ${localstack_config[$key]}"
done
echo
fi

cd "${AIRFLOW_SOURCES}"

# Temporarily add /opt/airflow/providers/standard/tests to PYTHONPATH in order to see example dags
Expand Down
2 changes: 2 additions & 0 deletions contributing-docs/testing/integration_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ core or provider type of test.
+--------------+-------------------------------------------------------+
| keycloak | Integration for manual testing of multi-team Airflow. |
+--------------+-------------------------------------------------------+
| localstack | Integration that emulates AWS services locally. |
+--------------+-------------------------------------------------------+
| mongo | Integration required for MongoDB hooks. |
+--------------+-------------------------------------------------------+
| mssql | Integration required for mssql hooks. |
Expand Down
23 changes: 23 additions & 0 deletions dev/breeze/doc/03_developer_tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,29 @@ These are all available flags of ``start-airflow`` command:
:width: 100%
:alt: Breeze start-airflow

Running External System Integrations with Breeze
------------------------------------------------

You can run Airflow alongside external systems in Breeze, such as Kafka, Cassandra, MongoDB, and more.

To start Airflow with an integration, use the following command:

.. code-block:: bash

breeze --python 3.10 --backend postgres --integration <integration_name>

For example, to run Airflow with Kafka:

.. code-block:: bash

breeze --python 3.10 --backend postgres --integration kafka

Check the available integrations by running:

.. code-block:: bash

breeze --integration --help

Launching multiple terminals in the same environment
----------------------------------------------------

Expand Down
10 changes: 5 additions & 5 deletions dev/breeze/doc/images/output-commands.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading