-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install providers from sources in prod image only on main #17458
Install providers from sources in prod image only on main #17458
Conversation
Random failure only |
I'd love to get that it before I start holidays, to test the |
6a9c5ca
to
d6a7d2c
Compare
d6a7d2c
to
973e67e
Compare
973e67e
to
2476b0d
Compare
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
2476b0d
to
317213b
Compare
We have a global limit (60 seconds) for individual test execution, however 'test_airflow_context' of the Python Virtualenv test might take longer in case they are run in parallel - because they are using dill serialization including a lot of serializable data from the context of the task. We give the test 120 seconds to complete now.
When we build production image during test in main, we install providers from current sources, to make sure that all the tests including Helm Chart/Kubernetes tests are using latest sources for providers. However, when we build the prod image during v* branches, we want to build the production image using latest released providers instead, because this will be the way it will be built shortly when we release it. We do not run providers test not helm chart tests in this branch so it is more important to build the image in the way it will be built for releases - we run verification then and install dependencies in the very same way it will be done during release.
317213b
to
a2cbed0
Compare
When we build production image during test in main, we install providers from current sources, to make sure that all the tests including Helm Chart/Kubernetes tests are using latest sources for providers. However, when we build the prod image during v* branches, we want to build the production image using latest released providers instead, because this will be the way it will be built shortly when we release it. We do not run providers test not helm chart tests in this branch so it is more important to build the image in the way it will be built for releases - we run verification then and install dependencies in the very same way it will be done during release. (cherry picked from commit 5790f72)
When we build production image during test in main, we install providers from current sources, to make sure that all the tests including Helm Chart/Kubernetes tests are using latest sources for providers. However, when we build the prod image during v* branches, we want to build the production image using latest released providers instead, because this will be the way it will be built shortly when we release it. We do not run providers test not helm chart tests in this branch so it is more important to build the image in the way it will be built for releases - we run verification then and install dependencies in the very same way it will be done during release. (cherry picked from commit 5790f72)
When we build production image during test in main, we install providers from current sources, to make sure that all the tests including Helm Chart/Kubernetes tests are using latest sources for providers. However, when we build the prod image during v* branches, we want to build the production image using latest released providers instead, because this will be the way it will be built shortly when we release it. We do not run providers test not helm chart tests in this branch so it is more important to build the image in the way it will be built for releases - we run verification then and install dependencies in the very same way it will be done during release. (cherry picked from commit 5790f72)
When we build production image during test in main, we install providers from current sources, to make sure that all the tests including Helm Chart/Kubernetes tests are using latest sources for providers. However, when we build the prod image during v* branches, we want to build the production image using latest released providers instead, because this will be the way it will be built shortly when we release it. We do not run providers test not helm chart tests in this branch so it is more important to build the image in the way it will be built for releases - we run verification then and install dependencies in the very same way it will be done during release. (cherry picked from commit 5790f72)
When we build production image during test in main, we install
providers from current sources, to make sure that all the tests
including Helm Chart/Kubernetes tests are using latest sources for
providers.
However, when we build the prod image during v* branches, we
want to build the production image using latest released providers
instead, because this will be the way it will be built shortly when
we release it. We do not run providers test not helm chart tests in
this branch so it is more important to build the image in the way it
will be built for releases - we run verification then and install
dependencies in the very same way it will be done during release.
Depends on #17486
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.