Uh oh!
There was an error while loading. Please reload this page.
Add localstack Breeze integration - #54050
Conversation
localstack breeze integrationlocalstack Breeze integrationpotiuk
commented
Aug 2, 2025
Very nice! good addition to Breeze! Few things:
cc: @vincbeck@ferruzzi@o-nikolas -> maybe you have some comments as well for that ? |
gopidesupavan
commented
Aug 2, 2025
Thats cool @jason810496 very good start :) |
ashb
commented
Aug 4, 2025
Nice. One nit here -- with the |
vincbeck
commented
Aug 4, 2025
Nice! Could be a nice solution to test AWS resources indeed. Potentially, in the future, we could also use that to, say, run AWS system tests in Airflow CI |
jason810496
commented
Aug 4, 2025
potiuk
commented
Aug 5, 2025
Crossed my mind too :) |
I'm really excited to hear that LocalStack is being added to Breeze! That said, I've seen many setups in the industry that combine Breeze with MinIO. I was wondering — was there a specific reason for choosing LocalStack over MinIO in this case? Was LocalStack chosen because other AWS services needed to be tested as well, beyond just S3? |
ashb
commented
Aug 7, 2025
@kyungjunleeme Minio is just S3 compatible storage right? Localstack has lots of other AWS services, including CloudWatch Logs etc. |
kyungjunleeme
commented
Aug 7, 2025
@ashb Yes, I totally agree — makes perfect sense :) |
jason810496
commented
Aug 7, 2025
Yes, Minio is just S3 compatible storage and Localstack is more than Minio.
LGTM for using Localstack as system test for AWS, as long as the Localstack is fully compatible ( as least will not show inconsistent behavior or introduce flakiness in the system test ). |
Yep. I think it won't be a "full" replacement - we'd likely have to skip some tests or add some workarounds, but for me that would be a very cool way to make System Tests for AWS run during the PRs. We were discussing ways how we can do it for Google - and apparently there is a https://cloud.google.com/sdk/gcloud/reference/beta/emulators - @VladaZakharova maybe that something that we could also leverage for Google System Tests ? |
7a6632c to
e76c24fComparejason810496
commented
Sep 8, 2025
If this is the case, do you mean we should the |
potiuk
commented
Sep 9, 2025
I think settin I think the best way to make it works in breeze is to change it in if [[ ${INTEGRATION_LOCALSTACK}=="true" ]];thenexport AWS_ENDPOINT_URL=http://localstack:4566
fiThen everything started with |
4c6618b to
52d45dfComparepotiuk
commented
Sep 11, 2025
I think one thing we need here is some docs about in contributing guidelines - not sure where (somewhere where we mention running tests in breeze. |
jason810496
commented
Sep 11, 2025
No problem! I will add the doc in tomorrow afternoon after my talk. |
vincbeck
left a comment
There was a problem hiding this comment.
Really nice! I can see many different use cases where this integration could be super useful :)
gopidesupavan
commented
Sep 11, 2025
probably i am going to integrate this with #54072 after our both PR merges. |
potiuk
commented
Sep 12, 2025
Fantastic ! |
f77ec26 to
d1547c2CompareUh oh!
There was an error while loading. Please reload this page.
Backport failed to create: v3-0-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker 84bd22c v3-0-testThis should apply the commit to the v3-0-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continue |
* Add localstack breeze integration * Fix Breeze unit test * Disbale test for localstack and export envs * Add docs for Running External System Integrations with Breeze * Fix output-commands.svg
* Add localstack breeze integration * Fix Breeze unit test * Disbale test for localstack and export envs * Add docs for Running External System Integrations with Breeze * Fix output-commands.svg
* Add localstack breeze integration * Fix Breeze unit test * Disbale test for localstack and export envs * Add docs for Running External System Integrations with Breeze * Fix output-commands.svg (cherry picked from commit 84bd22c)
* Add localstack breeze integration * Fix Breeze unit test * Disbale test for localstack and export envs * Add docs for Running External System Integrations with Breeze * Fix output-commands.svg (cherry picked from commit 84bd22c)
* Add localstack breeze integration * Fix Breeze unit test * Disbale test for localstack and export envs * Add docs for Running External System Integrations with Breeze * Fix output-commands.svg (cherry picked from commit 84bd22c)
* Add localstack breeze integration * Fix Breeze unit test * Disbale test for localstack and export envs * Add docs for Running External System Integrations with Breeze * Fix output-commands.svg (cherry picked from commit 84bd22c)
Why
As Ash suggested setting up AWS CloudWatch to test system behavior using LocalStack in #49470 (comment), we should provide an easy way to run LocalStack with Breeze.
What
Add
localstackto the Breeze--integrationflag to enable seamless setup of the Docker network for both Breeze and LocalStack.Then contributor can setup the following env in
files/airflow-breeze-config/environment_variables.envfor testing system behavior with localstack: